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

New Post: Convert MagickImage to XPS

$
0
0
Hello,

I am trying to convert a MagickImage object to an XPS format.
MagickNET.SetTempDirectory(@"D:\temp");
            MagickNET.SetGhostscriptDirectory(@"D:\GhostScriptLib");

            MagickImage img = new MagickImage(doc.Doc);
            img.Format = MagickFormat.Xps;

            img.Write(@"d:\temp\testsingle.xps");
It fails with an MagickMissingDelegateErrorException: no encode delegate for this image format `XPS'

After some researching I realized there is an extension library ghostscript called ghostxps.
Is this one needed here and how/where do I install it?

Thank you al lot.

Viewing all articles
Browse latest Browse all 3693

Trending Articles