in reply to Append images with ImageMagick

It would be useful to know what error you are getting

Replies are listed 'Best First'.
Re^2: Append images with ImageMagick
by casimo (Sexton) on Jul 08, 2009 at 02:44 UTC
    the line following:
    $x = $image->Append(stack=>{true,false});
    is throwing a HASH of $x
      I don't think that syntax is valid. Even if "true" and "false" were declared as constants that would be something like $image->Append(stack => { 1 => 0}) I think you really want to just do:
      $x = $image->Append(stack=>0);
      Update: After testing, I found you need to explicitly set stack to 0. Despite what the docs say, Image::Magick 6.4.8 seems to stack by Default.
      To clarify, the stack option is just there to allow you to append images from top to bottom, you want left to right. See the docs
        this worked:
        $x = $image->Append(stack=>0);
        Thanks