Search found 7 matches

by johan
2015-08-26T05:11:23-07:00
Forum: Bugs
Topic: Quality loss after compressing JPEG image to lossless JP2
Replies: 8
Views: 7471

Re: Quality loss after compressing JPEG image to lossless JP2

I am not sure IM can do a 3 image compare. So I am not sure what which images are being compared. Also it should be null: not NUL Oops, I see I made a typo there; that should've been: compare -metric PSNR balloon.jpg balloon_im_from_tiff.jp2 NUL Result is still 1.#INF though. (BTW NUL seems to be c...
by johan
2015-08-26T02:23:28-07:00
Forum: Bugs
Topic: Quality loss after compressing JPEG image to lossless JP2
Replies: 8
Views: 7471

Re: Quality loss after compressing JPEG image to lossless JP2

Great, I can confirm that setting -quality to 0 fixes the issue. Changing the default behaviour makes a lot of sense, good to see this will be changed in the next version. Many thanks all for the fast responses!
by johan
2015-08-25T09:31:59-07:00
Forum: Bugs
Topic: Quality loss after compressing JPEG image to lossless JP2
Replies: 8
Views: 7471

Re: Quality loss after compressing JPEG image to lossless JP2

If you look at the JPEG to JP2 via TIFF example in my original link, you see that it is actually possible to get a perfect match (also if I do the comparison between the source JPEG and the result TIFF both are identical). So it is definitely possible, but the JPEG decode behaviour appears to depend...
by johan
2015-08-25T05:14:04-07:00
Forum: Bugs
Topic: Quality loss after compressing JPEG image to lossless JP2
Replies: 8
Views: 7471

Quality loss after compressing JPEG image to lossless JP2

After compressing a JPEG image to lossless (!) JP2, the pixel values of the resulting JP2 are not identical to those of the source JPEG. Full description, tests and sample images here: https://github.com/bitsgalore/jpegToLosslessJP2 The issue doesn't occur for other input formats (and neither for di...
by johan
2012-08-27T09:27:59-07:00
Forum: Bugs
Topic: JPEG 2000 support broken in latest version?
Replies: 3
Views: 8660

Re: JPEG 2000 support broken in latest version?

OK, forgot about my suggestion below, I managed to hack into the ICC profile (oldskool hex-editing skills!) and manually changed the zero value, and it still gives me the same problem. So it must be something else! I can also add that I was able to reproduce this problem with the Windows binaries of...
by johan
2012-08-27T03:32:35-07:00
Forum: Bugs
Topic: JPEG 2000 support broken in latest version?
Replies: 3
Views: 8660

JPEG 2000 support broken in latest version?

After upgrading to the latest version of ImageMagick JPEG 2000 support seems to be somehow broken. For instance, trying to do this: identify target.jp2 gives me a segmentation fault. Ditto for any other operations (convert, compare, etc.) on JPEG 2000 images. Other JP2 images give me errors such as:...
by johan
2010-10-12T09:44:25-07:00
Forum: Users
Topic: Cannot decode JP2000 Images
Replies: 10
Views: 22257

Re: Cannot decode JP2000 Images

Hi, actually I'm pretty sure *is* a memory issue after all, as I've seen many examples of this behaviour before. If I use IM's 'identify' command when I'm logged in on Windows as a normal user, I'm getting a 'cannot decode code stream' error as well. When I do exactly the same thing from my administ...