Page 1 of 1

Very slow to ->Get('format')

Posted: 2013-04-08T23:10:18-07:00
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.

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

Posted: 2013-04-09T15:14:45-07:00
by Danalog
I figured it out myself, it was an unrelated issue.