in reply to Re: Append images with ImageMagick
in thread Append images with ImageMagick

the line following:
$x = $image->Append(stack=>{true,false});
is throwing a HASH of $x

Replies are listed 'Best First'.
Re^3: Append images with ImageMagick
by thunders (Priest) on Jul 08, 2009 at 03:15 UTC
    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.
Re^3: Append images with ImageMagick
by thunders (Priest) on Jul 08, 2009 at 03:22 UTC
    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