Magick.NET version
14.13.1
Environment (Operating system, version and so on)
Q8 x64, both Linux and Windows
Description
Hi,
Clipping seems to have regressed. I have a TIFF file with a clipping path, but when clipping using that path it takes the entire image instead. See sample.
14.13.0 was still fine.
Thanks
Steps to Reproduce
`using var img = new MagickImage("samples/synth_input.png");
img.Alpha(AlphaOption.Transparent);
img.Clip("Path 1"); // 14.11.1: keeps pixels inside the path. 14.13.1: masks everything.
img.Alpha(AlphaOption.Opaque);
using var canvas = new MagickImage(MagickColors.Yellow, img.Width, img.Height);
canvas.Composite(img, CompositeOperator.Over);
canvas.Write("actual.png");`
Images
synth_input.png
Magick.NET version
14.13.1
Environment (Operating system, version and so on)
Q8 x64, both Linux and Windows
Description
Hi,
Clipping seems to have regressed. I have a TIFF file with a clipping path, but when clipping using that path it takes the entire image instead. See sample.
14.13.0 was still fine.
Thanks
Steps to Reproduce
`using var img = new MagickImage("samples/synth_input.png");
img.Alpha(AlphaOption.Transparent);
img.Clip("Path 1"); // 14.11.1: keeps pixels inside the path. 14.13.1: masks everything.
img.Alpha(AlphaOption.Opaque);
using var canvas = new MagickImage(MagickColors.Yellow, img.Width, img.Height);
canvas.Composite(img, CompositeOperator.Over);
canvas.Write("actual.png");`
Images
synth_input.png