push the same image multiple times in a PerlMagick object
- From: "guba@xxxxxxxxxx" <guba@xxxxxxxxxx>
- Date: 24 Nov 2006 00:37:09 -0800
Hello,
I am trying to push more than two images in an PerlMagick
object to append them. The example shows the special case
where I try to push an image multiple times in an object
but this does not work: only two or three tiles were pushed
depending on the setting of $pattern_columns_nr. How can
this be resolved? Thank you for your help.
Guenter.
use Image::Magick;
use diagnostics;
my $tile = new Image::Magick;
my $pattern_columns_nr = 5;
my $tile->Read('image.jpg');
my $q = $tile->Clone();
for (my $k = 1; $k <= $pattern_columns_nr; $k++) {push(@$q, $tile)};
my $Pattern_row = $q->Append(stack=>'false');
.
- Prev by Date: Re: cgi programming in Perl
- Next by Date: Re: Export module
- Previous by thread: cgi programming in Perl
- Next by thread: parsing report
- Index(es):
Relevant Pages
|