the same code in PHP
is not work
code algorithm from the past
and it's work
Convert region in current image
- leos2009
- Posts: 15
- Joined: 2015-08-25T07:50:55-07:00
- Authentication code: 1151
- Location: Ukraine, Kiev
- Contact:
Re: Convert region in current image
Last edited by leos2009 on 2015-09-07T08:47:06-07:00, edited 1 time in total.
- leos2009
- Posts: 15
- Joined: 2015-08-25T07:50:55-07:00
- Authentication code: 1151
- Location: Ukraine, Kiev
- Contact:
Re: Convert region in current image
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');
Where is the error in this code?. Thanks
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Convert region in current image
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.
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.
snibgo's IM pages: im.snibgo.com
- leos2009
- Posts: 15
- Joined: 2015-08-25T07:50:55-07:00
- Authentication code: 1151
- Location: Ukraine, Kiev
- Contact:
Re: Convert region in current image
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
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
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert region in current image
Very nice application of some of my scripts.