I want to replace the pretty good working perl system command:
Code: Select all
system("convert $workdir/$tiff $tmpdir/$file%d.tif");
But what ever I tried, I have only the first page, second, third and so on, got lost.
Also this modified example from PerlMagick does not work for me:
Code: Select all
$filename = "image%d.tif";
open(IMAGE, ">$filename");
$image->Write(file=>\*IMAGE, filename=>$filename);
close(IMAGE);
Kind Regards
RP