bear0053 has asked for the wisdom of the Perl Monks concerning the following question:
thanks for the help ahead of time.my $background=Image::Magick->new(magick=>"gif"); $background->BlobToImage($binary_data); my $foreground=Image::Magick->new; $foreground->Read($watermark_file); $foreground->Transparent(color=>"white"); $background->Composite(compose=>'Over', Image=>$foreground, x=> 1, + y=> 1) $background->Write("gif-"); $binary_data = $background->ImageToBlob(); print "content-type: image/gif\n\n"; print $binary_data;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Image::magick visible watermark help
by valdez (Monsignor) on Jun 24, 2004 at 15:10 UTC | |
by bear0053 (Hermit) on Jun 24, 2004 at 19:28 UTC |