possible bug -fill none IM 6.7.6.5 Q16

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.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug -fill none IM 6.7.6.5 Q16

Post by fmw42 »

IM 6.7.6.5 Q16 Mac OSX Snow Leopard

I was under the impression that all commands (which use none or transparent) such as -fill none were fixed to promote the alpha channel automatically. Correct me if I am wrong.

Thus this should work, but does not.

convert logo: -fill none -opaque white show:


I know it can be made to work using

convert logo: -channel rgba -fill none -opaque white show:
or
convert logo: -transparent white show:
Last edited by fmw42 on 2012-04-14T13:59:22-07:00, edited 1 time in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible but -fill none IM 6.7.6.5 Q16

Post by magick »

Many of the ImageMagick algorithms are channel aware and the default is RGB. You must add -channel rgba to your command line. ImageMagick version 7 removes the need to specify the channels and automatically processes the alpha channel if its available.
Post Reply