comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Lossless JPG Decompression
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Lossless JPG Decompression [message #32620] Mon, 28 October 2002 06:54 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jaynie Padayachee (jpadayachee@bonbon.net) writes:

> I'm looking for lossless JPG decompression code for IDL.

I think this is called TIFF. :-)

Cheers,

David

P.S. You might be interested in why JPEG files *can't* be
lossless:

http://www.prepressure.com/techno/compressionjpeg.htm

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Lossless JPG Decompression [message #32716 is a reply to message #32620] Mon, 28 October 2002 11:52 Go to previous message
Rick Towler is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: slice of 2D surface
Next Topic: about MIN of 2D array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:21:00 PDT 2025

Total time taken to generate the page: 1.76069 seconds