Using Screen & Multiple with Inline images stopped working again.

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
chaoscarnage
Posts: 87
Joined: 2012-12-31T15:56:29-07:00
Authentication code: 6789

Using Screen & Multiple with Inline images stopped working again.

Post by chaoscarnage » 2019-02-17T15:12:01-07:00

I had the bug verified by Fred here.

Code: Select all

magick "inline:PNG64DATA" "MULTIPLY_IMG_1.png" -channel RGBA -compose Multiply -composite \
"MULTIPLY_IMG_2.png" -channel RGBA -compose Multiply -composite \
"SCREEN_IMG_1.png" -channel RGBA -compose Screen -composite \
"NEW_IMAGE.png"
This is the basic code used.

We were using 7.0.8.11 and it worked fine then.

We recently upgraded to 7.0.8.25 and it stopped working, it has also been tested in 7.0.8.27 and the beta for 7.0.8.28.

I can pm you exact examples, I already sent them to Fred and he verified via this post that it is not working.

User avatar
fmw42
Posts: 24591
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Using Screen & Multiple with Inline images stopped working again.

Post by fmw42 » 2019-02-17T15:44:39-07:00

I made a typo in my IM 7 command. Testing again in IM 6.9.10.27 and IM 7.0.8.27 Mac OSX Sierra, I get the same result, but neither match his previous output that he sent me.

Code: Select all

convert "inline:data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADwCAYAAACHQW/aAAAHYUlEQVR4Xu3dwYuUdQDG8d9ulgYRUWEICUGHPFS3ykvg0ZMKFZ6jaweVLkHHoItg/0HnIEg9+Sdsh24d7BAEBlFURAStYRrvu/uOs7Pz7vze2Vkf9P0MRLG+s49+5+P7zoxTrRU3BYIF1oLbphUoAEIQLQBgNL9xABmIFgAwmt84gAxECwAYzW8cQAaiBQCM5jcOIAPRAgBG8xsHkIFoAQCj+Y0DyEC0AIDR/MYBZCBaAMBofuMAMhAtAGA0v3EAGYgWADCa3ziADEQLABjNbxxABqIFAIzmNw4gA9ECAEbzGweQgWgB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GYgWADCa3ziADEQLABjNbxxABqIFAIzmNw4gA9ECAEbzGweQgWgBAKP5jQPIQLQAgNH8xv8HQW7lAJ8vdecAAAAASUVORK5CYII=" "layer2_female133.png" -channel RGBA -compose Multiply -composite "layer3_female133.png" -channel RGBA -compose Multiply -composite "layer4_female133.png" -channel RGBA -compose Screen -composite "layer5_female133.png" -channel RGBA -compose Screen -composite "layer6_female133.png" -channel RGBA -compose Multiply -composite test6.png


magick "inline:data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADwCAYAAACHQW/aAAAHYUlEQVR4Xu3dwYuUdQDG8d9ulgYRUWEICUGHPFS3ykvg0ZMKFZ6jaweVLkHHoItg/0HnIEg9+Sdsh24d7BAEBlFURAStYRrvu/uOs7Pz7vze2Vkf9P0MRLG+s49+5+P7zoxTrRU3BYIF1oLbphUoAEIQLQBgNL9xABmIFgAwmt84gAxECwAYzW8cQAaiBQCM5jcOIAPRAgBG8xsHkIFoAQCj+Y0DyEC0AIDR/MYBZCBaAMBofuMAMhAtAGA0v3EAGYgWADCa3ziADEQLABjNbxxABqIFAIzmNw4gA9ECAEbzGweQgWgBAKP5jQPIQLQAgNH8xgFkIFoAwGh+4wAyEC0AYDS/cQAZiBYAMJrfOIAMRAsAGM1vHEAGogUAjOY3DiAD0QIARvMbB5CBaAEAo/mNA8hAtACA0fzGAWQgWgDAaH7jADIQLQBgNL9xABmIFgAwmt84gAxECwAYzW8cQAaiBQCM5jcOIAPRAgBG8xsHkIFoAQCj+Y0DyEC0AIDR/MYBZCBaAMBofuMAMhAtAGA0v3EAGYgWADCa3ziADEQLABjNbxxABqIFAIzmNw4gA9ECAEbzGweQgWgBAKP5jQPIQLQAgNH8xgFkIFoAwGh+4wAyEC0AYDS/cQAZiBYAMJrfOIAMRAsAGM1vHEAGogUAjOY3DiAD0QIARvMbB5CBaAEAo/mNA8hAtACA0fzGAWQgWmB0AO98e/Pe3ZdfbKM/8cxTC3/9//75973aY6OP5EM6vvABeEh/Xb0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hwQwEmB7hLcILz8xzft1ztwHz37Vi/MFx47XH7573YV2FnIAAK4q0Df/26hQbgIZh/Yvq8DCGBvgT6Is3eYhjn9Y4u+Dl8dvtG8Cq7NUQvTm8+1RRcfN4oXIYszOCJVAMBUebttAQBBiBYAMJrfOIAMRAsAGM1vHEAGogUAjOY3DiAD0QIARvMbB5CBaAEAo/mNA8hAtACA0fzGAWQgWgDAaH7jADIQLQBgNL9xABmIFgAwmt84gAxECwAYzW8cQAaiBQCM5jcOIAPRAgBG8xsHkIFoAQCj+Y0DyEC0AIDR/MYBZCBaAMBofuMAMhAtAGA0v3EAGYgWADCa3ziADEQLABjNbxxABqIFAIzmNw4gA9ECAEbzGweQgWgBAKP5jQPIQLQAgNH8xgFkIFoAwGh+4wAyEC0AYDS/cQAZiBYAMJrfOIAMRAsAGM1vHEAGogUAjOY3DiAD0QIARvMbB5CBaAEAo/mNA8hAtACA0fzGAWQgWgDAaH7jADIQLQBgNL9xABmIFgAwmt84gAxECwAYzW8cQAaiBQCM5jcOIAPRAgBG8xsHkIFoAQCj+Y0DyEC0AIDR/MYBZCBaAMBofuMAMhAtAGA0v3EAGYgWADCa3ziADEQLABjNbxxABqIFAIzmNw4gA9ECAEbzGweQgWgBAKP5jQPIQLQAgNH8xv8HQW7lAJ8vdecAAAAASUVORK5CYII=" "layer2_female133.png" -channel RGBA -compose Multiply -composite "layer3_female133.png" -channel RGBA -compose Multiply -composite "layer4_female133.png" -channel RGBA -compose Screen -composite "layer5_female133.png" -channel RGBA -compose Screen -composite "layer6_female133.png" -channel RGBA -compose Multiply -composite test7.png
Both images are mostly transparent with a faint outline in reddish color. Neither are totally transparent.

IM 6 convert works fine if you remove the -channel RGBA.

chaoscarnage
Posts: 87
Joined: 2012-12-31T15:56:29-07:00
Authentication code: 6789

Re: Using Screen & Multiple with Inline images stopped working again.

Post by chaoscarnage » 2019-03-14T14:16:58-07:00

Any chance this was fixed in a recent update?

User avatar
dlemstra
Posts: 1541
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Using Screen & Multiple with Inline images stopped working again.

Post by dlemstra » 2019-03-14T19:32:06-07:00

Have you checked yourself if this was fixed in the most recent version of ImageMagick?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

User avatar
magick
Site Admin
Posts: 10919
Joined: 2003-05-31T11:32:55-07:00

Re: Using Screen & Multiple with Inline images stopped working again.

Post by magick » 2019-03-15T03:46:26-07:00

The problem you reported is fixed in the latest release of ImageMagick. If you find otherwise, let us know.

Post Reply