In January 2026 was released latest imagemagick v5.x
But pdfpreview is blocking imagemagick module update because of the compatibility dependency:
"drupal/imagemagick": "^3.7 || ^4.0"

Issue fork pdfpreview-3575613

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bohus ulrych created an issue. See original summary.

nickolaj made their first commit to this issue’s fork.

mstrelan made their first commit to this issue’s fork.

mstrelan’s picture

Status: Active » Needs review

Have not tested manually but the pipeline is green. Can someone please test?

bohus ulrych’s picture

Thanks for patch. But I was not able to upgrade module until I put in main composer.json this
"drupal/imagemagick": "5.0.1 as 4.9.9",
I think that composer was doing its checks before patch was applied. Don't know way how to solve it other way.

After that I was able to upgrade drupal/imagemagick 4.0.2 => 5.0.1
I used PDF preview as Field Format for my test PDF file field and image was correctly created.