Mirrored edges

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
tayfun
Posts: 1
Joined: 2012-09-17T04:26:14-07:00
Authentication code: 67789

Mirrored edges

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Mirrored edges

Post 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.
Post Reply