Page 1 of 1
IM7 regression with "-composite" ?
Posted: 2016-10-02T14:13:31-07:00
by Marsu42
This works on version 6, the wizard is added to the canvas just as expected:
Code: Select all
convert.exe -size 800x800 canvas:transparent wizard: -composite wizard6.png
The same command sequence fails with version 7 (ImageMagick-7.0.3-1-Q16-HDRI-x64-dll.exe or ImageMagick-7.0.3-1-Q8-x64-dll.exe) ... the output is just a transparant canvas with no composited wizard to be seen:
Code: Select all
magick.exe -size 800x800 canvas:transparent wizard: -composite wizard7.png
Is this a bug (& sorry for choosing the wrong forum), or am I missing something and v7 is not meant as a drop-in replacement for v6? Thanks.
Re: IM7 regression with "-composite" ?
Posted: 2016-10-02T14:39:36-07:00
by GeeMack
Marsu42 wrote:Is this a bug (& sorry for choosing the wrong forum), or am I missing something and v7 is not meant as a drop-in replacement for v6? Thanks.
Almost, but there are some times when using IM7 that you'll have to specify an image has an aplha channel. Try this...
Code: Select all
magick -size 800x800 canvas:transparent wizard: -alpha on -composite wizard7.png
Re: IM7 regression with "-composite" ?
Posted: 2016-10-02T14:53:45-07:00
by fmw42
I would consider this a bug, in my opinion. It fails for me on IM 7.0.3.1 Q16 Mac OSX.
Re: IM7 regression with "-composite" ?
Posted: 2016-10-02T15:10:12-07:00
by snibgo
The OP command works fine for me, v7.0.2-5. A recent bug, I assume.
Re: IM7 regression with "-composite" ?
Posted: 2016-10-02T23:25:30-07:00
by Marsu42
GeeMack wrote:Marsu42 wrote:Is this a bug (& sorry for choosing the wrong forum), or am I missing something and v7 is not meant as a drop-in replacement for v6? Thanks.
Almost, but there are some times when using IM7 that you'll have to specify an image has an aplha channel.
Thanks, I would have never gotten that idea, it's working now.
Still, if someone wants to move this to the "bugs" subforum go ahead as it's not 1:1 im6->im7 behavior (though this seems to be known to some).
Re: IM7 regression with "-composite" ?
Posted: 2016-10-03T07:02:22-07:00
by GeeMack
Marsu42 wrote:Still, if someone wants to move this to the "bugs" subforum...
I opened a thread in
Bugs describing this issue.