Page 2 of 2
Re: Convert region in current image
Posted: 2015-09-07T08:36:04-07:00
by leos2009
the same code in PHP
is not work
code algorithm from the past
and it's work
Re: Convert region in current image
Posted: 2015-09-07T08:38:37-07:00
by leos2009
Code: 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');
Not work in php
Where is the error in this code?. Thanks
Re: Convert region in current image
Posted: 2015-09-07T08:52:27-07:00
by snibgo
In your PHP screen shots, the first has line-end backslashes inside the quotes, so the backslashes are put into the string, so it doesn't work.
The second example has backslashes between strings, so it is an instruction to PHP to join up the lines. The string doesn't contain those backslashes, so this works.
Re: Convert region in current image
Posted: 2015-09-08T05:15:04-07:00
by leos2009
Thanks Snibgo! it's work
Re: Convert region in current image
Posted: 2016-01-22T05:31:43-07:00
by leos2009
Final video
https://youtu.be/7vTzTTCUnNg
used: javascript,
bootstrap-slider, php, Image Magick(server side image convert),
OpenCV 3.0 (Linux version),
Facedetect PHP Extension
FMW Scripts:
BUMP LIPS,
MESHWARP GRID
And many code standart IM command
Thanks World of IM
Re: Convert region in current image
Posted: 2016-01-22T10:06:49-07:00
by fmw42
Very nice application of some of my scripts.