views:

161

answers:

1

Is there any c# library that handles lossless conversion between different image formats?

+1  A: 

There is no such thing as a universally lossless conversion routine.

Some image formats (ie: GIF and JPEG [not 2k]) are inherently lossy. If you convert to those formats, you will always lose information.

If you are converting between lossless formats (ie: bmp, png, etc), ANY image library, including the FCL Image/Bitmap classes, will work perfectly fine.

Reed Copsey
How is GIF lossy (except for a 256-color maximum)?
dbkk
It's lossy in color depth. You lose info in the color palette.
Reed Copsey
Can you give me some examples of librarys I can use?
Marcus
The framework libraries work well. There's even an article on MSDN showing how to do this: http://msdn.microsoft.com/en-us/library/twss4wb0.aspx
Reed Copsey