Search found 2 matches

by SrinivasT
2013-11-11T16:33:01-07:00
Forum: PerlMagick
Topic: Text on Transparent background image breaks
Replies: 2
Views: 14036

Re: Text on Transparent background image breaks

Actually above code works, However the text breaks when we create animation out of it.

The code is as follows:
my $image_frames = Image::Magick->new('magick' => 'gif');
for(my $i = 0; $i < 60; $i++) {
# Create an image object, $image - or Clone the transparent image (with no annotation) - this is ...
by SrinivasT
2013-11-10T23:30:48-07:00
Forum: PerlMagick
Topic: Text on Transparent background image breaks
Replies: 2
Views: 14036

Text on Transparent background image breaks

I would like to add a Text with given font, size to an image that has transparent background.

The code is as follows

Method#1:
my $im = Image::Magick->new(magick => 'png');
$im->Set( size => "$options{image_length} x $options{image_width}" );
$im->ReadImage( "xc:none" );
$im->Annotate( fill ...