Very slow to ->Get('format')

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
Danalog
Posts: 2
Joined: 2013-04-08T23:04:47-07:00
Authentication code: 6789

Very slow to ->Get('format')

Post by Danalog »

I have a set of small images (640x480) and for some reason Image::Magick is taking a very long time to do the Get->('format') call on them.
With this debug:

Code: Select all

                WARN "Reading file";
                my $err = $image->Read($media_ref->{path});
                WARN "Getting format";
                my ($format) = $image->Get('format');
                WARN "OK, all gotten";
I'm getting this timing:

Code: Select all

[Mon Apr 08 23:02:50 2013] WARN: Reading file
[Mon Apr 08 23:02:50 2013] WARN: Getting format
[Mon Apr 08 23:06:17 2013] WARN: OK, all gotten
It's regularly taking 3-5 minutes per file for these jpegs. I'm using version 6.82. Is there any known reason why it could take so long to do this? I can display the files using an image editor with no visible delay at all.
Danalog
Posts: 2
Joined: 2013-04-08T23:04:47-07:00
Authentication code: 6789

Re: Very slow to ->Get('format')

Post by Danalog »

I figured it out myself, it was an unrelated issue.
Post Reply