Re: Convert region in current image
Posted: 2015-09-07T08:36:04-07:00
the same code in PHP
is not work
code algorithm from the past
and it's work
is not workcode algorithm from the past
and it's workUse https://github.com/ImageMagick/ImageMagick/discussions instead.
https://jqmagick.imagemagick.org/discourse-server/
https://jqmagick.imagemagick.org/discourse-server/viewtopic.php?t=28246
is not work
and it's workCode: Select all
exec('/opt/local/bin/convert files/triangles3.png \( -clone 0 -fill "gray(50%)" -colorize 100% \) \( -clone 0 -fill black -colorize 100% \) \( -clone 2 -fill white -draw "translate 180,123 path 'M 127,163 L 122,201 L 100,201 Z'" -alpha off -motion-blur 0x0-90 -blur 0x35 -clone 1 +swap -compose plus -composite \) -delete 2 -compose over -define compose:args=-0x0 -compose displace -composite files/1441640604.png');