Perl/ImageMagick 6.7 issue

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
beuss
Posts: 1
Joined: 2012-08-01T04:56:45-07:00
Authentication code: 15

Perl/ImageMagick 6.7 issue

Post by beuss »

Hi,

I've an issue migrating from 6.6.9-7 to 6.7.7-10. A simple script with a greyscale image messes up (with Gamma it seems but not sure).

Script is:

Code: Select all

use Image::Magick;

$img = new Image::Magick;

$img->Read('input.bmp');
$img->Write('output.png');
as you can see, nothing fancy.

You can get input image here

6.6 gives this
6.7 renders badly

Note that, as expected, convert input.bmp output.png behaves the same way as the perl script

It may be related to Gamma since Get('Gamma') gives 0 in 6.6 and 0.45 in 6.7 (calling Set('Gamma', 0) does not solve the issue).

Can give me some clue on that ?

Regards
Post Reply