Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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
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
          http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8896).
      
      

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-12-23 00:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls