Page 1 of 1

Mirrored edges

Posted: 2012-09-17T04:29:05-07:00
by tayfun
I'm trying to make mirror edges on the images with IMagick and PHP so far I have working solution with exec, but could someone help me to convert it to proper IMagick lines?

Here is exec line:

Code: Select all

convert 8c79c4627ff6368a7e53a9b399eb1a4fb0a085ea-crop.jpg -resize "3296.672x5605.024^" \( +clone -border 494x494 \) +swap -virtual-pixel mirror -fx "v.p{i-494,j-494}" test2.jpg

Re: Mirrored edges

Posted: 2012-10-17T21:42:15-07:00
by fmw42
Sorry I do not know Imagick syntax that well. Best for you to read http://php.net/manual/en/book.imagick.php and see if you can find the equivalent commands.