[Resolved] Problem with IM 7.0.6-1 using "-wave" and "-background none"

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
GeeMack
Posts: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

[Resolved] Problem with IM 7.0.6-1 using "-wave" and "-background none"

Post by GeeMack »

Using IM 7.0.6-1 HDRI on Windows 10 64. This command...

Code: Select all

magick -size 600x10 xc:black -background none -wave 5x30 output.png
... produces a 600x20 entirely transparent image. Even internal images like logo: and rose: will produce a completely transparent canvas when using "-wave" if the background color is set to "none".

The same command using "convert" with IM 6.9.8-10 creates a wavy black line on a transparent background, which is what I would expect.

If I eliminate the "-background none" with either IM6 or IM7, it produces a wavy black line on a white background as expected.

With IM 7.0.6-1 and using "-wave" with any background color that has any alpha transparency, even like "-background #FFFFFFFE", outputs a completely transparent image. This looks like something that might require the attention of the developers.
Last edited by GeeMack on 2017-07-22T11:25:05-07:00, edited 1 time in total.
User avatar
GeeMack
Posts: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

Re: Problem with IM 7.0.6-1 using "-wave" and "-background none"

Post by GeeMack »

After a few more experiments I find if I include "-alpha set" after reading in the image it creates the wavy image over a transparent background as expected. This appears to be a workable solution, but still doesn't seem like it should be necessary.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Problem with IM 7.0.6-1 using "-wave" and "-background none"

Post by magick »

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.
User avatar
GeeMack
Posts: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

[Resolved] Problem with IM 7.0.6-1 using "-wave" and "-background none"

Post by GeeMack »

This issue appears to be resolved in release ImageMagick 7.0.6-2 Q16 x64. Thanks!
Post Reply