Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: path problem with ImageMagick

by pbeckingham (Parson)
on Aug 11, 2004 at 16:40 UTC ( [id://382022]=note: print w/replies, xml ) Need Help??


in reply to path problem with ImageMagick

  • Try printing out the value of $imgmkpath - is it what you expected?
  • Can you convert the relative path to an absolute path? That way you are not reliant on which directory you launch the program from.
  • Can you check the return value of Image::Magick::Read?
  • Can you check the return value of Image::Magick::Write?
  • Did you know that $src->Read($imgmkpath); is functionally the same as, but better style than $src->Read("$imgmkpath");?
  • It is preferable to write Image::Magick->new than new Image::Magick.



pbeckingham - typist, perishable vertebrate.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found