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 ?

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

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).

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

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.

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

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.

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

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"

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

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 ?

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70