Hello,
I'm trying to combine multiple images with transparent background into single one with transparent background too.
I combine empty image Canvas.png (just transparent background) as canvas with image Source.png (yellow circle on transparent background):
With script like this:
composite -gravity center -background none Source.png Canvas.png Result.png
Here is result image with some "dark outline", which I need to remove:
I tried so many combinations and -alpha settings, but without success.
Can You help me please?
Thank You, Tomas
Images with transparent background problem
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Images with transparent background problem
On IM v6.9.1-0, I don't get the dark outline.
What version are you on? Perhaps you need to upgrade.
What version are you on? Perhaps you need to upgrade.
snibgo's IM pages: im.snibgo.com
Re: Images with transparent background problem
I used this version:
ImageMagick-6.9.1-2-Q16-x64-dll
ImageMagick-6.9.1-2-Q16-x64-dll
Re: Images with transparent background problem
I'm not sure, if I'm doing something wrong, but if I try just draw a circle to transparent background, I have the same problem, as described above ("dark outline"). (Win 7, *.bat, ImageMagick-6.9.1-3-Q16-x64-dll.exe)
convert -size 100x100 xc:none -fill pink -draw "circle 50,50 40,10" Test.png
Do You anybody have a working example of drawing at transparent background?
Thx. T.
convert -size 100x100 xc:none -fill pink -draw "circle 50,50 40,10" Test.png
Do You anybody have a working example of drawing at transparent background?
Thx. T.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Images with transparent background problem
Code: Select all
convert -size 100x100 xc:none -fill pink -draw "circle 50,50 40,10" Test.png
This seems to be a bug, so I'm moving it to the bugs forum.
snibgo's IM pages: im.snibgo.com
Re: Images with transparent background problem
We can reproduce the problem you posted and have a patch in ImageMagick 6.9.1-4 Beta, available by sometime tomorrow. Thanks.
Re: Images with transparent background problem
Thank you
T.
T.