Saludos Jose,

PNGwriter's main emphasis is on easy, lossless image processing. The option of reading and/or writing JPEG files would be rather tangential to its purpose (mainly inspired by PNGwriter's scientific use, where lossy data formats are not suitable).

From a practical point of view, I would have to either write the JPEG code myself, which is way out of my league, or use a library, thus adding another dependency. I have chosen to keep the dependencies to an absolute minimum, as I personally hate having to download many dependencies for a simple library. This may not be an issue now that PNGwriter has been included in a few main Unix/Linux distros, but remember that PNGwriter is meant to as portable as possible, and that, regrettably, incudes windows as well. If a Linux user has a hard time installing a non-packaged source tarball, including procuring all the dependencies, I can only imagine what it's like for a windows user (not that I've ever been in that situation, but I'm extrapolating).

So in short, JPEG support will probably never be added to PNGwriter.

There is a BMP reader/writer in progress, based almost entirely on Siva Chandra's code, but unfortunately I haven't worked on that for many months, and I don't know if it will see the light of day. Best stick to PNG and use external tools to convert the image.

Suerte,

Paul


On 8 Oct 2005, at 12:19, Jose wrote:

Hi,  Hola,

I'm new to the list. First of all, thank you for providing this wonderful library.

One feature that would widely increase the appeal of the library is the ability to import / export to jpeg.

In many cases, e.g. image processing the input image is in jpeg altough it is ok to save it in png. In other cases the the input image might be in jpeg/png but saving it in jpeg reduces the storage cost. Do you think it makes sense to provide this feature ? are there any plans for new features ?


Thanks, Gracias,
Jose



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
http://pngwriter.sourceforge.net/
PNGwriter-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pngwriter-users

Reply via email to