Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Clipping path difference

$
0
0
I'm trying to create a transparent pdf from a tif file with a clipping path.
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?

Viewing all articles
Browse latest Browse all 3693

Trending Articles