I'm trying to create a transparent pdf from a tif file with a clipping path.
Example 1 from photoshop
Example 2 from photoshop
Resulting PDF
test.tif
Can anyone explain why this happens?
using (MagickImage image = new MagickImage(@"c:\test.tif"))
{
image.Alpha(AlphaOption.Transparent);
image.Clip();
image.Alpha(AlphaOption.Opaque);
image.Write("c:\\test.pdf");
}
This almost works, but the clip path itself differs from how it was created in photoshop.Example 1 from photoshop
Example 2 from photoshop
Resulting PDF
test.tif
Can anyone explain why this happens?