Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression when comparing images with alpha to image without alpha with -alpha off #285

Open
josch opened this issue Oct 30, 2023 · 2 comments

Comments

@josch
Copy link

josch commented Oct 30, 2023

ImageMagick version

6.9.12-84-33-gd49d6b227

Operating system

Linux

Operating system, version and so on

Debian bookworm

Description

When comparing attached images before commit d49d6b2, they compared as equal. Starting with commit d49d6b2, they appear as different. Bug or feature?

Steps to Reproduce

compare -metric AE -alpha off working.orig.jpg working.gs.png null:

Images

working orig
working gs

@urban-warrior
Copy link
Member

We get a "Not a JPEG file" for the working original. Resolve this issue so we can reproduce the issue in our local environment.

@josch
Copy link
Author

josch commented Nov 3, 2023

$ identify working.orig.jpg
working.orig.jpg JP2 60x60 60x60+0+0 8-bit sRGB 0.000u 0:00.001
$ file --mime working.orig.jpg
working.orig.jpg: image/jp2; charset=binary
$ file working.orig.jpg
working.orig.jpg: JPEG 2000 Part 1 (JP2)

I downloaded the version from this issue. md5sum should be 8e824e6e06227579ae0055eb392ca91c All tools above say that it's of jpeg type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants