Page 1 of 1

Append() not doing what I think it should

Posted: 2008-08-20T06:20:29-07:00
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

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

Posted: 2008-08-20T06:22:35-07:00
by magick
Try
  • $append = $image->Append(stack=>"true");
    $append->Write("/tmp/append.tiff");

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

Posted: 2008-08-20T07:42:02-07:00
by cletcher
Thanks, that worked!