php - How to add fisheye effect with imagemagick -


i need add fisheye effect imagemagick photo done php script. looks bad , want try maybe imagemagick can better.

original image

php script result

i trying apply barrel distorsion , fisheye2rect script cant find proper parameters.

i have bash unix shell script, spherize, uses imagemagick can called using php exec(). see http://www.fmwconcepts.com/imagemagick/index.php

using input image:

spherize -a 1 _y_7_y70etlm4ask_jpg result2.jpg 

enter image description here

or

spherize -a 1 -b image _y_7_y70etlm4ask_jpg result2.jpg 

enter image description here

alternately, see script, fisheye.

fisheye -f fullframe -i 150 _y_7_y70etlm4ask_jpg result3.jpg 

enter image description here


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -