Page 1 of 1

Get('interlace') always reports "None"?

Posted: 2011-01-25T18:51:27-07:00
by paul_krohn
Hi all. Longtime user, first post here. Thanks in advance for taking a look!

My issue is that it appears that PerlMagick always reports "None" as the interlace type in a snippet like this:

Code: Select all

my $obj = Image::Magick->new();
my $res = $obj->Read($imageFileName);
print STDOUT $imageFileName . ": " . $obj->Get('interlace') . "\n";
When I check the same images with identify, the interlace type is correctly reported. At least, for my set of test images, which contains one image with interlace type "JPEG", aka "progressive". I reproduced this on a freshly-updated MacPorts install of:

p5-perlmagick @6.59
ImageMagick @6.6.7-1

I am on MacOS x 10.6.6, though I have the same issue on Solaris 8 on ImageMagick 6.3.0.

Insights much appreciated,

Paul