watermark with dark background

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ed44rf
Posts: 4
Joined: 2016-08-02T22:37:59-07:00
Authentication code: 1151

watermark with dark background

Post by ed44rf »

hi
i want add watermark https://yadi.sk/i/-L7UrHu4tsBno
i use such command

Code: Select all

composite  watermark,jpg file.pdf file.pdf
but i get strange result
on ubuntu14.04 with ImageMagick 6.7.7-10 2016-06-01 Q16 i get this image https://yadi.sk/i/Q2sVaArItsCAL
on centos 7 with ImageMagick 7 i get this image https://yadi.sk/i/VPhlJP3LtsCDX

so it create dark background, how can i fix it? i need watermark without changes
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: watermark with dark background

Post by fmw42 »

See http://www.imagemagick.org/Usage/compose/#watermark for watermarking. Otherwise, provide both input files so we can test your command.

IM 7 requires magick composite ...

IM 6.7.7.10 is very old and may have a bug. You would be well off upgrading. What is wrong with your IM 6 result?
Post Reply