List Info

Thread: Annotate() question.




Annotate() question.
user name
2006-10-18 16:16:09
> Can someone tell me why the following doesn't produce
an annotated
> image?

This works for us:

  #!/usr/bin/perl -w
  use Image::Magick;
  
  my $string = 'Test overlay.';
  
  my $image = new Image::Magick;
  $image->Read('logo:');
  $image->Annotate(text=>$string, y=>20,
font=>'BitstreamVeraSans',
    pointsize=>11, fill=>'black');
  $image->Write(filename=>'capture.jpg',
quality=>85);
  undef $image;
_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )