I need to add fisheye effect with imagemagick to photo as its done now with php script. It looks bad and I want to try maybe imagemagick can do it better.
我需要使用imagemagick将fisheye效果添加到照片中,因为它现在使用php脚本完成。它看起来很糟糕,我想尝试imagemagick可以做得更好。
php脚本结果
I was trying to apply Barrel distorsion and fisheye2rect script but cant find proper parameters.
我试图应用Barrel distorsion和fisheye2rect脚本,但无法找到合适的参数。
1 个解决方案
#1
0
I have a bash unix shell script, spherize, that uses ImageMagick that can be called using PHP exec(). See http://www.fmwconcepts.com/imagemagick/index.php
我有一个bash unix shell脚本spherize,它使用可以使用PHP exec()调用的ImageMagick。请参见http://www.fmwconcepts.com/imagemagick/index.php
Using your input image:
使用输入图像:
spherize -a 1 _y_7_y70etlm4ask_jpg result2.jpg
or
spherize -a 1 -b image _y_7_y70etlm4ask_jpg result2.jpg
Alternately, see my script, fisheye.
或者,请看我的脚本,鱼眼。
fisheye -f fullframe -i 150 _y_7_y70etlm4ask_jpg result3.jpg
#1
0
I have a bash unix shell script, spherize, that uses ImageMagick that can be called using PHP exec(). See http://www.fmwconcepts.com/imagemagick/index.php
我有一个bash unix shell脚本spherize,它使用可以使用PHP exec()调用的ImageMagick。请参见http://www.fmwconcepts.com/imagemagick/index.php
Using your input image:
使用输入图像:
spherize -a 1 _y_7_y70etlm4ask_jpg result2.jpg
or
spherize -a 1 -b image _y_7_y70etlm4ask_jpg result2.jpg
Alternately, see my script, fisheye.
或者,请看我的脚本,鱼眼。
fisheye -f fullframe -i 150 _y_7_y70etlm4ask_jpg result3.jpg