Bug in -alpha disassociate when combine with masking

array(5) {
  [0]=>
  string(79) "Version: ImageMagick 7.0.8-11 Q16 x86_64 2019-05-20 https://www.imagemagick.org"
  [1]=>
  string(46) "Copyright: © 1999-2018 ImageMagick Studio LLC"
  [2]=>
  string(55) "License: https://www.imagemagick.org/script/license.php"
  [3]=>
  string(32) "Features: Cipher DPC HDRI OpenMP"
  [4]=>
  string(106) "Delegates (built-in): bzlib djvu fftw freetype jbig jng jpeg lcms lqr lzma openexr png tiff wmf x xml zlib"
}

To get the image location replace /var/ with http://208.38.162.164/

Time Taken to Create: 0.073753833770752
Simple Test: (Correct 3/8 times, Blank is Correct)


Code Used:
magick /var/images/avatar/temp/buffer.png \( /var/images/avatar/layers/06/98/76/3e37872bc438d90b42b7c8b411236.png \( /var/images/avatar/layers/a1/24/9c/d362dff1c846cb363255a92887.png -alpha copy -compose Dst_In \) -composite -alpha disassociate \( /var/images/avatar/social/mask/male/11.png -alpha copy -compose Dst_In \) -composite -alpha disassociate \) -compose Over -composite \( /var/images/avatar/layers/fb/d2/aa/3751679806b601a6d63083b0ab236.png \( /var/images/avatar/layers/90/d6/37/11a7f63e649fc43cdd66e8522a.png -alpha copy -compose Dst_In \) -composite -alpha disassociate \( /var/images/avatar/social/mask/male/12.png -alpha copy -compose Dst_In \) -composite -alpha disassociate \) -compose Over -composite /var/images/test.png


Time Taken to Create: 0.082381010055542
Advanced Test: (IF this is correct, refresh, it is right 1/8 times)


Code Used:
magick /var/images/avatar/temp/buffer.png \( /var/images/avatar/layers/06/98/76/3e37872bc438d90b42b7c8b411236.png \( /var/images/avatar/layers/a1/24/9c/d362dff1c846cb363255a92887.png -alpha copy -compose Dst_In \) -composite -alpha disassociate \( /var/images/avatar/social/mask/male/11.png -alpha copy -compose Dst_In \) -composite -alpha disassociate \) -compose Over -composite \( /var/images/avatar/layers/9e/f6/71/ecffb46acb381153f558c72efd211.png \( /var/images/avatar/social/mask/male/11.png -alpha copy -compose Dst_In \) -composite -alpha disassociate \) -compose Over -composite \( /var/images/avatar/layers/4b/ab/53/469175e93372a650b8bb73c597230.png \( /var/images/avatar/social/mask/male/11.png -alpha copy -compose Dst_In \) -composite -alpha disassociate \) -compose Over -composite \( /var/images/avatar/layers/fb/d2/aa/3751679806b601a6d63083b0ab236.png \( /var/images/avatar/layers/90/d6/37/11a7f63e649fc43cdd66e8522a.png -alpha copy -compose Dst_In \) -composite -alpha disassociate \( /var/images/avatar/social/mask/male/12.png -alpha copy -compose Dst_In \) -composite -alpha disassociate \) -compose Over -composite /var/images/test2.png



Bug in Screen/Multiply

(Image blow is correct, incorrect on all versions above 7.0.8-11 that we have tried)

string(3657) "magick "inline:data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADwCAYAAACHQW/aAAAI6klEQVR4Xu3csWtVZxjH8TckkMmlm7RgxUGwYge3UiEdAlnsVouhFwfBWC20S3EqBPoHlIJYFRwkQ1q71SWQoRdS+geICB0chM5dnDKElOfgezn3eG9+55ybJw/x/WZpzX3O+zbf++Gce26unUt8USCwwFzg3mxNgQRAEIQWAGBofjYHIAZCCwAwND+bAxADoQUAGJqfzQGIgdACAAzNz+YAxEBoAQCG5mdzAGIgtAAAQ/OzOQAxEFoAgKH52RyAGAgtAMDQ/GwOQAyEFgBgaH42ByAGQgsAMDQ/mwMQA6EFABian80BiIHQAgAMzc/mAMRAaAEAhuZncwBiILQAAEPzszkAMRBaAICh+dkcgBgILQDA0PxsDkAMhBYAYGh+NgcgBkILADA0P5sDEAOhBQAYmp/NAYiB0AIADM3P5gDEQGgBAIbmZ3MAYiC0AABD87M5ADEQWgCAofnZHIAYCC0AwND8bA5ADIQWAGBofjYHIAZCCwAwND+bAxADoQUAGJqfzQGIgdACAAzNz+YAxEBoAQCG5mdzAGIgtAAAQ/OzOQAxEFoAgKH52RyAGAgtAMDQ/GwOQAyEFgBgaH42ByAGQgsAMDQ/mwMQA6EFABian80BiIHQAgAMzc/mAMRAaAEAhuZncwBiILQAAEPzszkAMRBaAICh+dk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DPuqwtCwBQJmLAswAAPeuytiwAQJmIAc8CAPSsy9qyAABlIgY8CwDQsy5rywIAlIkY8CwAQM+6rC0LAFAmYsCzAAA967K2LABAmYgBzwIA9KzL2rIAAGUiBjwLANCzLmvLAgCUiRjwLABAz7qsLQsAUCZiwLMAAD3rsrYsAECZiAHPAgD0rMvasgAAZSIGPAsA0LMua8sCAJSJGPAsAEDPuqwtC/wPb+NBD6ooL50AAAAASUVORK5CYII=" \( "/var/images/paint/tanktop/layer2_female.png" -channel RGBA -compose Multiply \) -composite \( "/var/images/paint/tanktop/layer3_female.png" -channel RGBA -compose Multiply \) -composite \( "/var/images/paint/tanktop/layer4_female.png" -channel RGBA -compose Screen \) -composite \( "/var/images/paint/tanktop/layer5_female.png" -channel RGBA -compose Screen \) -composite \( "/var/images/paint/tanktop/layer6_female.png" -channel RGBA -compose Multiply \) -composite "tanktop_result_female.png""