Imagick and Thumbnails
Posted: 2008-04-08T22:18:26-07:00
I'm building an advanced thumbnail generator for my website but am having some issues when try to convert the actual ImageMagick "convert" command into using the Imagick Image Library. Right now I'm using shell_exec to process the command shown below but I am looking to make it to use the library to make my code more uniform. Everything else is adapted to the library except this one command. Any help will be appreciated.
This is the command:
If this is in the wrong forum please move or let me know.
This is the command:
Code: Select all
/usr/local/bin/convert "{$filepath}" -size 1x14 xc:Black -background Black -append -gravity South -fill White -draw "text 0,0 '{$filereso['0']}x{$filereso['1']} - {$filesize}" "{$outputpath}";