help
Posted: 2011-07-06T12:27:12-07:00
command runs slowly: ~ 8 seconds
/usr/bin/convert 'FIRST_IMG' \( -resize 270x265! -crop 270x265 -level -10% -matte -virtual-pixel transparent -distort Perspective '0,0,1,1 0,265,0,264 265,0,260,72 265,260,268,236' 'ANOTHER_IMG' \) -background none -geometry +177+186 -compose Atop -composite 'RESULT_IMG'
FIRST_IMG - jpeg (The JPEG image format) 600px × 480px
ANOTHER_IMG - PNG Image - 800px × 600px
Why so slow, what to do to make it faster?
Server ubuntu-x86_64 500 Mhz RAM 256 Mb
PHP Version 5.3.3-1ubuntu9.5
ImageMagick 6.6.2-6 2010-12-02 Q16
/usr/bin/convert 'FIRST_IMG' \( -resize 270x265! -crop 270x265 -level -10% -matte -virtual-pixel transparent -distort Perspective '0,0,1,1 0,265,0,264 265,0,260,72 265,260,268,236' 'ANOTHER_IMG' \) -background none -geometry +177+186 -compose Atop -composite 'RESULT_IMG'
FIRST_IMG - jpeg (The JPEG image format) 600px × 480px
ANOTHER_IMG - PNG Image - 800px × 600px
Why so slow, what to do to make it faster?
Server ubuntu-x86_64 500 Mhz RAM 256 Mb
PHP Version 5.3.3-1ubuntu9.5
ImageMagick 6.6.2-6 2010-12-02 Q16