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

Update to ImageMagick 7 library that almost works. #234

Closed
wants to merge 2 commits into from

Conversation

dgleich
Copy link
Contributor

@dgleich dgleich commented Oct 8, 2024

Fixes #232

But this still causes the issue with #206. I'm not quite sure how that one got changed, but it seems like it was another issue outside of the core library. So I'm starting this pull request to debug further.

This also bumps the version number to 1.4.0 because there could be other things that change with the version 7 library.

Do we want to add webp support as part of this too?

@dgleich
Copy link
Contributor Author

dgleich commented Oct 8, 2024

This also

Fixes #231

@dgleich
Copy link
Contributor Author

dgleich commented Oct 9, 2024

Does anyone know how #206 was fixed? Just by reverting the library? The issue seems like it's some odd interaction with libtiff.

@dgleich
Copy link
Contributor Author

dgleich commented Oct 9, 2024

Here are relevant links:

@dgleich dgleich closed this Oct 9, 2024
@dgleich dgleich reopened this Oct 9, 2024
@dgleich
Copy link
Contributor Author

dgleich commented Oct 9, 2024

(Apologies -- not sure how I closed it.)

@timholy
Copy link
Member

timholy commented Oct 9, 2024

Yes, I think we reverted it.

@ViralBShah
Copy link
Contributor

@dgleich Gave you commit access here (in case it helps).

@dgleich
Copy link
Contributor Author

dgleich commented Oct 11, 2024

Okay, the latest update (which was pushed to master directly...) fixes the tiff issue by ignoring the tags. This passes on cameraman, which was one of the files blocked last time. It also introduces the original PNG test from issue 206, which passes.

I should probably update the readme to mention that it's now ImageMagick 7 instead of ImageMagick 6...

@ViralBShah @timholy any other checks you or others would like to see? (Just a reminder this bumps the version to 1.4.0...)

@ViralBShah
Copy link
Contributor

ViralBShah commented Oct 11, 2024

My main interest was to see Imagemagick updated and working again (even if we disable a couple of things). I am not a major user of this package otherwise.

I believe folks here will prefer working with branches and merging when CI is green.

@ViralBShah
Copy link
Contributor

ViralBShah commented Oct 11, 2024

The other nice thing to fix would be this warning:

┌ ImageMagick
│  WARNING: using deprecated binding Colors.RGB1 in ImageCore.
│  , use XRGB instead.
│  WARNING: using deprecated binding Colors.RGB4 in ImageCore.
│  , use RGBX instead.
└  

I suppose we should close this PR for now?

@ViralBShah ViralBShah closed this Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to ImageMagick 7.1
3 participants