Search found 237 matches

by agriz
2016-09-07T07:07:16-07:00
Forum: Users
Topic: Two animated gif - Composite one over another
Replies: 17
Views: 9724

Re: Two animated gif - Composite one over another

Yes sir. The black should be transparent and moon should be resized and centered.
by agriz
2016-09-07T07:00:39-07:00
Forum: Users
Topic: Two animated gif - Composite one over another
Replies: 17
Views: 9724

Re: Two animated gif - Composite one over another

The animated moon over the animated stars. As a single image.
Is that possible? Both are different frames. I was thinking it is not possible if they are different in frame numbers.
by agriz
2016-09-07T02:08:13-07:00
Forum: Users
Topic: Two animated gif - Composite one over another
Replies: 17
Views: 9724

Re: Two animated gif - Composite one over another

Image
Image


There are the two images i were trying. The moon has black background after uploading.
by agriz
2016-09-07T01:28:12-07:00
Forum: Users
Topic: Two animated gif - Composite one over another
Replies: 17
Views: 9724

Re: Two animated gif - Composite one over another

Both are animated gif.
Both are different sizes.
Both are having different number of frames.
IM 7.0.2
I will post the gifs now.
by agriz
2016-09-06T19:02:29-07:00
Forum: Users
Topic: Two animated gif - Composite one over another
Replies: 17
Views: 9724

Two animated gif - Composite one over another

I can make them work one by one.
But i want those two images animated together. They are different sizes.

First image(background) is bigger than the second.

Code: Select all

convert anim_1.gif anim_2.gif -gravity center -compose over -composite output.gif
it is not working.
by agriz
2016-09-06T08:48:48-07:00
Forum: Users
Topic: Morph and clone the layers
Replies: 1
Views: 1595

Re: Morph and clone the layers

Sorry. It is working. I didnt check the right images. :)
by agriz
2016-09-06T08:44:48-07:00
Forum: Users
Topic: Morph and clone the layers
Replies: 1
Views: 1595

Morph and clone the layers

convert \( img_1.png img_2,png -morph \) output This code gives me 7 images of img_1 and img_2 but convert \( img_1.png img_2,png -morph \) \( img_3,png \) output is giving 12 img_1, img_2 and img_3 in different variant. Why? i should get only img_1 and img_2 in seven variant and finally one img_3 ...
by agriz
2016-09-06T04:20:55-07:00
Forum: Users
Topic: How to use -displace with convert?
Replies: 2
Views: 2653

Re: How to use -displace with convert?

thumbs up :)
by agriz
2016-09-05T06:59:33-07:00
Forum: Users
Topic: How to use -displace with convert?
Replies: 2
Views: 2653

How to use -displace with convert?

convert: unrecognized option `-displace'

Displace is working only with composite. How can i use it with convert?
by agriz
2016-09-01T18:48:39-07:00
Forum: Users
Topic: Text Escaping - Security??
Replies: 9
Views: 5081

Re: Text Escaping - Security??

I was getting that text from $_REQUEST['text']
That was not a valid php statement.

<input name="text" type="text" value=""I am a boy" />

$text = addslashes($_REQUEST['text']);
by agriz
2016-09-01T08:44:52-07:00
Forum: Users
Topic: Text Escaping - Security??
Replies: 9
Views: 5081

Re: Text Escaping - Security??

Code: Select all


$text = addslashes("I am a boy") => working;
$text = addslashes("I am a boy) => not working;

exec("convert -size 500x400 xc:none -fill white -stroke black -pointsize 20 -gravity center -annotate 0 \"".$text."\" output.gif");

by agriz
2016-09-01T08:16:52-07:00
Forum: Users
Topic: Text Escaping - Security??
Replies: 9
Views: 5081

Re: Text Escaping - Security??

ok. Another, final (might be :) ) problem. "convert -size 500x400 xc:none -fill white -stroke black -pointsize 20 -gravity center -annotate 0 \"Some Text\" output.gif" \"I\" \'m a boy => working (Double quotes is opened and close and working) \"I am boy => not working (Double quotes is opened and no...
by agriz
2016-09-01T00:22:48-07:00
Forum: Users
Topic: Text Escaping - Security??
Replies: 9
Views: 5081

Re: Text Escaping - Security??

Is it possible to break and hack my above command if i just escape single and double quotes?
How can i escape #?

I am not able to escape the following two special characters.
# and &
by agriz
2016-08-31T08:50:12-07:00
Forum: Users
Topic: Text Escaping - Security??
Replies: 9
Views: 5081

Re: Text Escaping - Security??

Please give me the list of special characters
by agriz
2016-08-31T07:23:50-07:00
Forum: Users
Topic: Text Escaping - Security??
Replies: 9
Views: 5081

Text Escaping - Security??

IM Version : 7.0.2 convert -size 500x400 xc:none -fill white -stroke black -pointsize 20 -gravity center -annotate 0 "Some Text" output.gif It is working good. I\'m a boy \"I\" \'m a boy These are working. \"I\" \'m a boy %d ==> I am getting only "I" 'm a boy in the image. %d is missing. What charac...