Code: Select all
convert -size 100x100 xc:white -draw "translate 50,50 rotate 90 image over 0,0 10,10 'test.jpg'" out.jpg
Cause:
Code: Select all
if ((draw_info->compose == OverCompositeOp) &&
(ExpandAffine(&affine) != 1.0))
(void) DrawAffineImage(image,composite_image,&affine);
else
(void) CompositeImage(image,draw_info->compose,composite_image,
geometry.x,geometry.y);
Code: Select all
MagickExport double ExpandAffine(const AffineMatrix *affine)
{
assert(affine != (const AffineMatrix *) NULL);
return(sqrt(fabs(affine->sx*affine->sy-affine->rx*affine->ry)));
}