PGM to PNG API

Convert Netpbm Portable Graymap format to Portable Network Graphics

Try it Free
curl --location 'https://www.docspal.com/api/convert' \
--form 'key="6f6253b2bb91d689c934a02c1fcedcd5adeba73f9127a82e149109f548f3e613"' \
--form 'file=@"/home/dev/Work/example.pgm"' \
--form 'to-format="png"'

PGM to PNG conversion

Easily convert a Netpbm Portable Graymap format to Portable Network Graphics with our PGM to PNG API.

API Endpoint

HTTP POST
https://www.docspal.com/api/convert

To start using our RESTful API, you just need to sign up for free in order to obtain your API key which you simply need to add to your API call as a query string parameter to the conversion URL and that’s it:

HTTP POST
https://www.docspal.com/api/convert?key=api_key

Try the conversion online

You can test the conversion result online using our website. This tool will produce the same conversion output as if you were using the API.

Try it Free