I installed Image::Magick successfully. No more errors.
My script to copy an image is
#!/usr/local/bin/perl
use Image::Magick;
my($image, $x);
$image = Image::Magick->new;
$x = $image->Read('D:/d/FirewallRespTimebyDay.xls.0.PNG');
warn "$x" if "$x";
$x = $image->Write('C:/Graph.xls.01.08.2004.PNG');
warn "$x" if "$x";
when I run this script, it replaces the image in 'C:/Graph.xls.01.08.2004.PNG' with the image in 'D:/d/FirewallRespTimebyDay.xls.0.PNG'(i.e. it is writting in to the 'C:/Graph.xls.01.08.2004.PNG'). But I want to append an image to the file. I tried
$x = $image->Append('C:/Graph.xls.01.08.2004.PNG');
But got a message saying
Image::Magick=ARRAY(0x1a453b0) at D:\image.pl line 8.
How do I append an image to a png file which already has an image?
Thanks & Regards
Nalina