Append() not doing what I think it should

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
cletcher

Append() not doing what I think it should

Post by cletcher »

Hi there,
Can anyone tell me what is wrong with the following subroutine? It runs without complaint but the output is the same as the first input file. (append.tiff ends up identical to title.tiff.

sub put_together {
$image->Read(
'/tmp/title.tiff',
'/tmp/company.tiff',
'/tmp/location.tiff',
'/tmp/witness.tiff',
'/tmp/elevations.tiff',
'/tmp/depths.tiff',
'/tmp/addserv.tiff',
'/tmp/toolcom.tiff',
'/tmp/mudnum.tiff'
);
$image->Append(stack=>"true");
$image->Write("/tmp/append.tiff");
@$image = ();
}


Thanks,
Chris
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Append() not doing what I think it should

Post by magick »

Try
  • $append = $image->Append(stack=>"true");
    $append->Write("/tmp/append.tiff");
cletcher

Re: Append() not doing what I think it should

Post by cletcher »

Thanks, that worked!
Post Reply