In convert what is equivalent of composite'disslove
In convert what is equivalent of composite'disslove
I use magic command-line-tools to let a gif file have watermark.
composite is failure,I use convert is ok.
I want the watermark can dissolve,
looks like the source image:
http://qiniuphotos.qiniudn.com/gogopher ... x/20/dy/20
But convert doesn't have dissovle
composite is failure,I use convert is ok.
I want the watermark can dissolve,
looks like the source image:
http://qiniuphotos.qiniudn.com/gogopher ... x/20/dy/20
But convert doesn't have dissovle
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: In convert what is equivalent of composite'disslove
See "convert ... -compose dissolve" at http://www.imagemagick.org/Usage/compose/#dissolve
snibgo's IM pages: im.snibgo.com
Re: In convert what is equivalent of composite'disslove
Thanks for your reply,but the answer is wrong.
Now i give you a picture and a watermark,could you help me generate a result which i want.
If you can ,please show your command.
Source picture: http://needkane.qiniudn.com/draw.gif
Watermark: http://needkane.qiniudn.com/p.png
I want the result: http://needkane.qiniudn.com/draw2
Now i give you a picture and a watermark,could you help me generate a result which i want.
If you can ,please show your command.
Source picture: http://needkane.qiniudn.com/draw.gif
Watermark: http://needkane.qiniudn.com/p.png
I want the result: http://needkane.qiniudn.com/draw2
Re: In convert what is equivalent of composite'disslove
Thanks for your reply,but the answer is wrong.snibgo wrote:See "convert ... -compose dissolve" at http://www.imagemagick.org/Usage/compose/#dissolve
Now i give you a picture and a watermark,could you help me generate a result which i want.
If you can ,please show your command.
Source picture: http://needkane.qiniudn.com/draw.gif
Watermark: http://needkane.qiniudn.com/p.png
I want the result: http://needkane.qiniudn.com/draw2
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: In convert what is equivalent of composite'disslove
In command line, see -compose modulate as the equivalent of watermark.
http://www.imagemagick.org/script/compose.php
http://www.imagemagick.org/Usage/compose/#watermark
Sorry I do not know Magick++ (equivalents).
http://www.imagemagick.org/script/compose.php
http://www.imagemagick.org/Usage/compose/#watermark
Sorry I do not know Magick++ (equivalents).
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: In convert what is equivalent of composite'disslove
There are many ways to do this. Here is one. Windows syntax.
Code: Select all
convert ^
draw.gif ^
-layers coalesce ^
NULL: ^
( p.png -alpha set -channel A -evaluate multiply 0.5 +channel ) ^
-layers composite ^
d2.gif
snibgo's IM pages: im.snibgo.com
Re: In convert what is equivalent of composite'disslove
Thank you very much,it's ok nowsnibgo wrote:There are many ways to do this. Here is one. Windows syntax.Code: Select all
convert ^ draw.gif ^ -layers coalesce ^ NULL: ^ ( p.png -alpha set -channel A -evaluate multiply 0.5 +channel ) ^ -layers composite ^ d2.gif
Re: In convert what is equivalent of composite'disslove
Could you help resolve the problem,use one line command completesnibgo wrote:There are many ways to do this. Here is one. Windows syntax.Code: Select all
convert ^ draw.gif ^ -layers coalesce ^ NULL: ^ ( p.png -alpha set -channel A -evaluate multiply 0.5 +channel ) ^ -layers composite ^ d2.gif
Text watermark also can disslove.
http://qiniuphotos.qiniudn.com/gogopher ... x/20/dy/20
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: In convert what is equivalent of composite'disslove
What version of IM and what platform are you using?
This works for me. You need to use -layers composite not -composite and you need the NULL:
Unix
Windows (I think)
I do not know the Magick++ equivalent.
This works for me. You need to use -layers composite not -composite and you need the NULL:
Unix
Code: Select all
convert draw.gif -coalesce NULL: \
p.png -gravity center -define compose:args=50x100 \
-compose dissolve -layers composite -layers optimize \
draw2.gif
Windows (I think)
Code: Select all
convert draw.gif -coalesce NULL: ^
p.png -gravity center -define compose:args=50x100 ^
-compose dissolve -layers composite -layers optimize ^
draw2.gif
Re: In convert what is equivalent of composite'disslove
Sir.you understand is wrong ,the watermark is word not photofmw42 wrote:What version of IM and what platform are you using?
This works for me. You need to use -layers composite not -composite and you need the NULL:
UnixCode: Select all
convert draw.gif -coalesce NULL: \ p.png -gravity center -define compose:args=50x100 \ -compose dissolve -layers composite -layers optimize \ draw2.gif
Windows (I think)I do not know the Magick++ equivalent.Code: Select all
convert draw.gif -coalesce NULL: ^ p.png -gravity center -define compose:args=50x100 ^ -compose dissolve -layers composite -layers optimize ^ draw2.gif
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: In convert what is equivalent of composite'disslove
You did not provide a text image, but only the circle. You need to create a watermark image with text or create it in the command line.
Try this:
see
http://www.imagemagick.org/Usage/anim_mods/#compose
Try this:
Code: Select all
convert draw.gif -coalesce NULL: \
\( -background none -fill white -pointsize 24 label:"TESTING" \) -gravity center -define compose:args=50x100 \
-compose dissolve -layers composite -layers optimize \
draw2.gif
http://www.imagemagick.org/Usage/anim_mods/#compose
-
- Posts: 3
- Joined: 2014-10-03T13:38:58-07:00
- Authentication code: 6789
Re: In convert what is equivalent of composite'disslove
I tried the command line way, but couldn't get it done. The Windows syntax worked for me, thank snibgosnibgo wrote:There are many ways to do this. Here is one. Windows syntax.Code: Select all
convert ^ draw.gif ^ -layers coalesce ^ NULL: ^ ( p.png -alpha set -channel A -evaluate multiply 0.5 +channel ) ^ -layers composite ^ d2.gif
Juliet