Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2018-03-17 22:30 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (227 votes). Check out past polls.