Topic: ImageMagick 6.8.9-7 broken?

Hey Remi,

Converting .ps (Postscript) to .png broke after the lib update. We now get a "Postscript delegate failed" error with the new version of the library.
We downgraded back to 6.8.9.0 and it's working...

Laurent

Re: ImageMagick 6.8.9-7 broken?

Have you a small reproducer so I can investigate this issue ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

3 (edited by laurenty 2014-08-27 07:25:22)

Re: ImageMagick 6.8.9-7 broken?

I used this tiny PHP script with our sysadmin to verify that the downgraded version was working:

<?php

$im = new Imagick();
$im->setResolution( 96, 96 );

try {
        $im->readImage('test_file.ps');
}
catch (Exception $e) {
        var_dump($e);
}
?>

Here's a more complete error message that we were getting with 6.8.9-7 from the readImage() call:

Postscript delegate failed `[ghostscript library] -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r96x96" -g816x1056  "-sOutputFile=/tmp/magick-20619D3Jjuf25rX9X%d" "-f/tmp/magick-20619mkNRXRDMG4TG" "-f/tmp/magick-20619KzP8BHvrQhEp" -c showpage': -dname= must be followed by a valid token
 @ error/ps.c/InvokePostscriptDelegate/246

Thanks

Re: ImageMagick 6.8.9-7 broken?

Thanks, I can reproduce.

I will try to investigate this issue which seems specific to old ghostscript version 8.70 provided by EL-6, same code works with more recent version (tested with 9.14 under Fedora and 9.04 under CentOS 7).

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: ImageMagick 6.8.9-7 broken?

Can you please give a try to version 6.8.9.7-2 in remi-test (el6.x86_64 only , for now) ?
This shoud fix this issue.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: ImageMagick 6.8.9-7 broken?

Thanks for the quick reply Remi. I'll ask our sysadmin to install 6.8.9.7-2 and will keep you posted.

Re: ImageMagick 6.8.9-7 broken?

If needed, build for el5, el6, i386 and x86_64 are now in remi-test

I'm waiting for your feedback before moving them to remi.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: ImageMagick 6.8.9-7 broken?

Seems to be working fine using the remi-test repo.

Re: ImageMagick 6.8.9-7 broken?

Thanks for the feedback.

Moved to "remi"

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: ImageMagick 6.8.9-7 broken?

Following http://forums.famillecollet.com/viewtopic.php?id=2914

@laurenty: can you please also test if -4 (in remi-test) works as espected ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi