I need a cross platform source code for JPEG to PGM.
I have been working on a website using PHP & MySQL. I found out that the JPEG files that have are a bit heavy and therefore wanted a code that would automatically convert all uploaded JPEG images into PGM file formats. May you kindly provide me with a source code for JPEG to PGM so that I can incorporate into my work.
Thanks a bunch.