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

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
paul_krohn
Posts: 3
Joined: 2011-01-25T18:21:54-07:00
Authentication code: 8675308

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

Post 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
Post Reply