Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Image::Magick Exception 430

by snoopy (Deacon)
on Nov 05, 2007 at 00:24 UTC ( #648924=note: print w/ replies, xml ) Need Help??

in reply to Image::Magick Exception 430

Hi ruzam,

I ran your script, using Image::Magick 6.3.4, and substituting pdfs for pic files. I am getting the same error!

I agree that Image::Magick doesn't seem to be cleaning up file handles properly.

You might want to examine Image Magick bugs. Consider submitting a bug report, against the Perl bindings, using your test case.

Note that the current version of Image::Magick is 6.3.6

Comment on Re: Image::Magick Exception 430
Replies are listed 'Best First'.
Re^2: Image::Magick Exception 430
by ruzam (Curate) on Nov 05, 2007 at 16:25 UTC
    Thanks snoopy,

    At least now I know there's nothing more I can do with it (getting a newer version of Image::Magick is not an option).

    Before I revert my code back to running 'convert' as a shell command, is there a way to get at the handles created by Image::Magick and force close them outside of Image::Magick?
      This smells like a serious bug. It has the potential to destabilise other parts of your application.

      As a work-around, your best bet could be to convert your sub to a stand-alone command-script and run it as a once per image from your main program.

      Submit this as a bug report, if you've got a few minutes, Otherwise I will!

      Update:The bug went away on my system after I upgraded to 6.3.6

      From the change log:

      2007-05-03  6.3.4-1 Cristy  <quetzlzacatenango@image...>
        * Add support for PFM images.
        * Check for corrupt EXIF image profiles.
        * Writing JPEG YCbCr TIFF images no longer faults (reference


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://648924]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2015-11-30 04:32 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (757 votes), past polls