|
Re: Lossless JPG Decompression [message #32696 is a reply to message #32621] |
Tue, 29 October 2002 18:13  |
rmw092001
Messages: 17 Registered: January 2002
|
Junior Member |
|
|
"Rick Towler" <rtowler@u.washington.edu> wrote in message news:<apk4lo$23qg$1@nntp6.u.washington.edu>...
> "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
Surely the answer is just READ_JPEG ? :)
(the writer asked for decompression, not compression code)
READ_JPEG will decompress jpeg files in IDL, without losing any
information that is in the file. :)
|
|
|