What format support loseless image compression for 24 bit images?

JPG supports them, but its not loseless. And when I sometimes find banding on JPG images used as textures when I try to gamma correct. (BMP and TGA work fine, so its the compression).
Posted on 2002-03-15 15:18:56 by dxantos
PNG can compress 24-bit images (32-bit and 48-bit as well), lossless, so of course the compression is much less than with JPG.

Thomas
Posted on 2002-03-15 15:23:08 by Thomas
There is a lossless variant of JPEG compression made by HP research labs:
http://www.hpl.hp.com/loco/
Posted on 2002-03-15 16:09:15 by LuHa

PNG can compress 24-bit images (32-bit and 48-bit as well), lossless,
so of course the compression is much less than with JPG.

That certainly depends on your image data :). Yes, jpeg is one of
the most efficient algorithms for "photo" style images... but if
you have long repeating patterns, gif or png will not be shabby at all.
Posted on 2002-03-15 19:49:34 by f0dder
You're right, that's what I meant. :rolleyes: You normally don't use JPG for non-photo images..

Thomas
Posted on 2002-03-16 03:16:30 by Thomas
TGA (Targa) is the hi-res, lossless format I'm most familiar with. Many ray-tracing programs, like POVray, use TGA as their standard output format.
Posted on 2002-03-16 21:11:10 by The Worrier King
So you're telling that i should use PNG in my 2d game?
Posted on 2002-03-31 12:43:13 by ti_mo_n