Lossless JPEG2000 isn't lossless in IM

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
daniel

Lossless JPEG2000 isn't lossless in IM

Post by daniel »

Hi

I'm looking to find a utility to convert files to lossless JPEG2000, and ImageMagic looked like a good solution.

Before I tried anything I came accross this info:

http://dltj.org/article/lossless-jpeg2000/
it would appear Jasper/ImageMagick is not using the reversible (integer) wavelet transform.
I have tried some tests myself, converting a TIFF from a Red Camera to JPEG2000, back to TIFF, and then comparing the results in Gimp, and the two images are not identical.

Any ideas? I would love to use ImageMagic, but this is a major stumbling block...

Edited to add that my tests were done with ImageMagick-6.4.1-3-Q16-windows-dll.exe
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Lossless JPEG2000 isn't lossless in IM

Post by magick »

We have a patch in ImageMagick 6.4.1-4 Beta (available tomorrow) to produce lossless JP2 compression. Thanks.
daniel

Re: Lossless JPEG2000 isn't lossless in IM

Post by daniel »

Great stuff, thanks!
Post Reply