Nalina has asked for the wisdom of the Perl Monks concerning the following question:
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#!/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";
But got a message saying$x = $image->Append('C:/Graph.xls.01.08.2004.PNG');
How do I append an image to a png file which already has an image?Image::Magick=ARRAY(0x1a453b0) at D:\image.pl line 8.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Appending an image to a png file
by davidj (Priest) on Aug 03, 2004 at 11:30 UTC | |
by Nalina (Monk) on Aug 04, 2004 at 05:29 UTC | |
|
Re: Appending an image to a png file
by Joost (Canon) on Aug 03, 2004 at 11:34 UTC | |
by Nalina (Monk) on Aug 04, 2004 at 06:16 UTC | |
|
Re: Appending an image to a png file
by beable (Friar) on Aug 03, 2004 at 11:34 UTC | |
by Nalina (Monk) on Aug 04, 2004 at 05:58 UTC | |
by beable (Friar) on Aug 04, 2004 at 10:04 UTC | |
|
Re: Appending an image to a png file
by Anonymous Monk on Aug 03, 2004 at 15:23 UTC |