I need a cross platform source code for JPEG to PGM.

Asked By 20 points N/A Posted on -
qa-featured

Hi!

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.

SHARE
Answered By 30 points N/A #130300

I need a cross platform source code for JPEG to PGM.

qa-featured

Hi,

Converting JPEG to PGM would become very complicated. If you are storing all the images into the database, I would suggest you not to, as you can just store the images in the file system and place just the image URL into the database. This would not make it heavy.

This would be helpful- http://blog.theonlytutorials.com/very-simple-php-script-to-upload-image-or-file-from-an-url/

Good luck,

 

Login/Register to Answer

Related Questions