HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
System: Linux panel19.servidoresrapidos.net 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
User: pastorfi (1081)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //usr/share/doc/ImageMagick-perl-6.9.10.68/demo/shadow-text.pl
#!/usr/bin/perl

eval 'exec /usr/bin/perl  -S $0 ${1+"$@"}'
    if 0; # not running under some shell
#
# 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:');