Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Firzen
Posts: 2 Joined: 2015-09-14T06:15:42-07:00
Authentication code: 1151
Post
by Firzen » 2015-09-14T07:07:29-07:00
Hello,
I need to watermark some grayscale images with
composite utility. I am using following command:
Code: Select all
composite -compose atop -gravity SouthEast watermark.png butterfly.jpg output.jpg
Problem is that created output image is brighter and maybe more contrast than original. Images just does not look same. With color (RGB) images is everything ok, only grayscales are the problem. My sample images are here:
watermark.png -
https://www.dropbox.com/s/xo5lxzbua6e7t ... k.png?dl=0
butterfly.jpg -
https://www.dropbox.com/s/2zj6n5tg7ou6h ... y.jpg?dl=0
output.jpg -
https://www.dropbox.com/s/v16im3ld79xcd ... t.jpg?dl=0
Information about my system:
Code: Select all
firzen@phoenix:~$ composite --version
Version: ImageMagick 6.7.7-10 2014-03-08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
firzen@phoenix:~$ uname -r
3.16.0-4-686-pae
firzen@phoenix:~$ arch
i686
firzen@phoenix:~$ lsb_release -a | grep Desc
Description: Debian GNU/Linux 7.7 (wheezy)
Is there something wrong with my command, or this is bug? Thanks in advance.
Last edited by
Firzen on 2015-09-17T00:52:41-07:00, edited 1 time in total.
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2015-09-14T07:33:59-07:00
Firzen wrote: ImageMagick 6.7.7-10
That's the problem. I suggest you upgrade to a more recent version.
Firzen
Posts: 2 Joined: 2015-09-14T06:15:42-07:00
Authentication code: 1151
Post
by Firzen » 2015-09-17T00:52:22-07:00
Thanks for your answer, but I finally found solution that works even with my version of ImageMagick, which is important for me.
Working command is:
Code: Select all
composite -compose atop -gravity SouthEast -colorspace RGB watermark.png butterfly.jpg output.jpg
It is a bit slower, and so I use it only with grayscale images.