Mar 5, 2010 at 10:58pm UTC
Hello every one
i want to convert image from jpg to png format !!!
any suggestions!!!
thanks
Mar 5, 2010 at 11:18pm UTC
First decompress the jpg, then recompress the image using the png algorithm.
Mar 5, 2010 at 11:24pm UTC
Look it up. This is a programming forum, and even if this is for some kind of program we don't have *all* the answers.
Mar 5, 2010 at 11:30pm UTC
thanks jsmith
tummychow:
I think i am asking in the right place as i ask for a [b]programming guide [/b]
Mar 5, 2010 at 11:52pm UTC
Well we don't have the libraries... have you checked online?
Mar 5, 2010 at 11:56pm UTC
You can do what jsmith suggested using libjpeg and libpng. There are also some image manipulation libraries around (e.g. ImageMagick, FreeImage), which let you load and save with only a few function calls.
Mar 6, 2010 at 12:54am UTC
That is pretty awesome.
There is also a utility on sourceforge called optipng which converts bmps to pngs.