0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.190.239.189


Current Path : /proc/thread-self/root/home/ubuntu/ImageMagick-7.0.10-22/PerlMagick/demo/
Upload File :
Current File : //proc/thread-self/root/home/ubuntu/ImageMagick-7.0.10-22/PerlMagick/demo/shadow-text.pl

#!/usr/bin/perl
#
# Make simple text with a shadow.
#
use Image::Magick;

$image=Image::Magick->new(size=>'500x120');
$image->Read('xc:white');
$image->Annotate(fill=>'rgba(100,100,100,0.8)',pointsize=>60,
  text=>'Works like magick!',geometry=>'+8+90');
$image->Blur('0x1');
$image->Annotate(fill=>'red',stroke=>'blue',pointsize=>60,
  text=>'Works like magick!',geometry=>'+4+86');
$image->Write('shadow.gif');
$image->Write('win:');