Page 1 of 1

perlmagick $obj->Get('interlace') always reports None

Posted: 2011-01-25T18:34:30-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

Insights much appreciated,

Paul

Re: perlmagick $obj->Get('interlace') always reports None

Posted: 2011-01-25T18:52:34-07:00
by paul_krohn
Sorry, this should be in the Perlmagick forum, re-posted there:

viewtopic.php?f=7&t=17931