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

New Post: Detecting clipping paths in JPG

$
0
0
Are you sure that you are using Magick.NET? There is no Identify method in the MagickImage class.

EDIT: Sorry, I did not see you posted the Interop syntax. You can do it like this:
using (MagickImage image = new MagickImage(sourceFilePath))
{
  string clipPathInfo = image.GetAttribute("8BIM:1999,2998:#1");
}
But I think this deserves a special property. I will add a new property called HasClippingPath in the next release.

Viewing all articles
Browse latest Browse all 3693

Trending Articles