I would not recommend using Image::Magick modules and instead just directly using the command line magick tools (eg. convert). We have had difficulty compiling perlmagick and once installed segfaults on some servers. I have found just wrapping convert with the proper parameters a bit more stable and, interestingly, faster.