- 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.