JPG to JP2 conversion fails in fidelity check

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
parimalraj
Posts: 1
Joined: 2011-04-03T22:18:56-07:00
Authentication code: 8675308

JPG to JP2 conversion fails in fidelity check

Post by parimalraj »

Hi All,

I'm using ImageMagick-6.6.0-Q16 version to convert JPG files to JP2. All are getting converted to JP2 but, few of them are failing fidelity check when I compare. Could any one of You suggest a solution to get these files converted without any fidelity failing.

Thanks,
Parimal
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: JPG to JP2 conversion fails in fidelity check

Post by anthony »

JPEG is a lossy format and does not store information exactly.

JP2 is the newer library and can do either lossy compression or exact compressions of the image.

Comparing lossy compressions is likely to find some differences, depending on the 'quality' of the compression.


Lossy compression can compress images enormously better than exact compression, without greatly effecting visual performance, and that is why it is used for images. However as I have said many times, is you plan to use lossy compression, store your originals as you got them. if you need to save them save them as PNG. Yes it is not very good in disk space but it at least it is a perfect save.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply