Append() not doing what I think it should
Posted: 2008-08-20T06:20:29-07:00
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
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