One Hat Cyber Team
Your IP :
104.23.197.74
Server IP :
188.114.97.3
Server :
Linux thuru 6.5.11-4-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-4 (2023-11-20T10:19Z) x86_64
Server Software :
Apache/2.4.51 (Unix) OpenSSL/1.0.2k-fips
PHP Version :
7.3.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
ImageMagick-perl-6.9.10.68
/
demo
/
View File Name :
settings.pl
#!/usr/bin/perl eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' if 0; # not running under some shell # # An example of applying many settings in preparation for image creation. # # Extracted from PerlMagick Discussion forums.. # Gravity center, caption and wrapped text # https://imagemagick.org/discourse-server/viewtopic.php?f=7&t=17282 # use strict; use warnings; use Image::Magick; my $im = new Image::Magick; my $e = $im->Set( background => 'none', fill => 'white', stroke => 'black', strokewidth => 2, Gravity => 'East', pointsize => 48, size => '200x300', ); die $e if $e; $e = $im->Read("caption:Lorem ipsum etc etc"); die $e if $e; $e = $im->Trim(); die $e if $e; $e = $im->Write('settings.png'); die $e if $e;