Page 1 of 1

Watermark opacity and animated gif

Posted: 2017-02-03T10:10:25-07:00
by n0_namer
Hello.

I'm newbie in IM. I'm using this script in order to place watermark.png on animated gif. (Windows 10 x64 and IM 7.0.4-Q16)

Code: Select all

set INDIR=d:\
set OUTDIR=d:\LOGO

for /F "usebackq" %%F in (`dir /b %INDIR%\*.gif`) do (
  magick "%INDIR%\%%F" -gravity SouthEast null: watermark.png -layers composite "%OUTDIR%\%%~nxF"
  
  rem del /Q "%INDIR%\%%F"
)
Is there any way to change watermark.png opacity? I was trying to use -watermark 30%%, but got "unrecognized option "-watermark"" error. Thanks.

Re: Watermark opacity and animated gif

Posted: 2017-02-03T10:55:11-07:00
by snibgo
Instead of ...

Code: Select all

watermark.png
... you can have something like:

Code: Select all

( watermark.png -alpha set -channel A -evaluate multiply 0.3 +channel )

Re: Watermark opacity and animated gif

Posted: 2017-02-03T11:30:00-07:00
by n0_namer
Thank you very much, snibgo.
snibgo wrote: 2017-02-03T10:55:11-07:00 Instead of ...

Code: Select all

watermark.png
... you can have something like:

Code: Select all

( watermark.png -alpha set -channel A -evaluate multiply 0.3 +channel )

Re: Watermark opacity and animated gif

Posted: 2017-02-04T07:20:26-07:00
by snibgo
I've removed a duplicate post, and moved the topic to Users,