Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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

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
          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?
[Tux]: choroba++ # pm_cb_g also signals replies to posts, something#cbstream does not
[marto]: good afternoon all
[marto]: that is a neat feature, I'll have to have a look at how it displays that
[Tux]: 14:32 Europe/Amsterdam, so good afternoon to you :)
[marto]: 13:32, sunny Glasgow :P
[Tux]: as in, some others might appreciate a good morning or goor evening
[Tux]: Glasgow, as in TPCiG-2018 !!!! :) :)
erix would rather appreciate proof of a goodmorning
[marto]: Tux so I'm told :)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2017-09-22 12:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (263 votes). Check out past polls.

    Notices?