Real PNM Output and RGB AlphaColor Values
Image to PNM conversions now return real PNM files instead of PNG files. Image to JPG conversions accept AlphaColor in R,G,B form, such as 255,255,255, instead of failing.
Fixes
- BMP, GIF, HEIC, JPG, PNG, PSD, SVG, TIFF, WebP and AI to PNM - the result was a PNG file with a
.pngextension. It is now a real PNM file with a.pnmextension. Color images come back as PPM, and grayscale or black-and-white images may come back as PGM or PBM, all inside the same.pnmformat. - Transparency in PNM output - PNM cannot store transparency, so transparent areas are now filled with white. The
TransparentColorparameter is no longer offered on PNM conversions, because it had no effect on the output. - GIF, HEIC, HEIF, ICO, PNG, PSD, SVG, TIFF and WebP to JPG - an
AlphaColorvalue in R,G,B form, such as255,255,255, failed with an unexpected error. It now sets the background color for transparent areas, like hex values and color names already did.
Try it out
- PNG to PNM
- API sandbox: png-to-pnm
- PNG to JPG
- API sandbox: png-to-jpg