+2019-03-16 7.0.8-35 Cristy <quetzlzacatenango@image...>
+ * -draw image DstOver is now responsive to the composite operator (reference
+ https://imagemagick.org/discourse-server/viewtopic.php?f=1&t=35650).
+
2019-03-15 7.0.8-34 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.8-34, GIT revision 15413:860af935d:20190315
}
}
-static inline void CompositePixelInfoOver(const PixelInfo *p,
- const double alpha,const PixelInfo *q,const double beta,PixelInfo *composite)
+static inline void CompositePixelInfoOver(const PixelInfo *p,const double alpha,
+ const PixelInfo *q,const double beta,PixelInfo *composite)
{
double
Da,
affine.tx=(double) geometry.x;
affine.ty=(double) geometry.y;
composite_image->interpolate=image->interpolate;
- status&=DrawAffineImage(image,composite_image,&affine,exception);
+ if ((draw_info->compose == OverCompositeOp) ||
+ (draw_info->compose == SrcOverCompositeOp))
+ (void) DrawAffineImage(image,composite_image,&affine,exception);
+ else
+ (void) CompositeImage(image,composite_image,draw_info->compose,
+ MagickTrue,geometry.x,geometry.y,exception);
composite_image=DestroyImage(composite_image);
break;
}