Page 1 of 1

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

Posted: 2017-07-18T19:26:56-07:00
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.

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

Posted: 2017-07-18T19:36:43-07:00
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.

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

Posted: 2017-07-19T14:22:11-07:00
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.

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

Posted: 2017-07-22T11:24:23-07:00
by GeeMack
This issue appears to be resolved in release ImageMagick 7.0.6-2 Q16 x64. Thanks!