|
Re: Lossless JPG Decompression [message #32716 is a reply to message #32620] |
Mon, 28 October 2002 11:52  |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
"David Fanning" <david@dfanning.com> wrote
> Jaynie Padayachee (jpadayachee@bonbon.net) writes:
>
>> I'm looking for lossless JPG decompression code for IDL.
>
> I think this is called TIFF. :-)
>
> P.S. You might be interested in why JPEG files *can't* be
> lossless:
>
> http://www.prepressure.com/techno/compressionjpeg.htm
>
I think you need to read your reference, David. As stated at the bottom of
the page, JPEG 2000 offers a lossless compression mode.
If Jaynie, you are in fact looking for an implementation of the JPEG 2000
standard for IDL I think you might be out of luck. But if you are, as David
assumed, just looking for a lossless image format then you have a few
options in IDL. TIFF, as David mentioned, is supported in IDL although the
LZW compression mode was excised in 5.4(?). This can be limiting if you are
reading in images created in another application (there are workarounds...)
24-bit PNG files may work for you too.
-Rick
|
|
|