This project has moved and is read-only. For the latest updates, please go here.

Convert MagickImage to XPS

Mar 8 at 7:43 PM

I am trying to convert a MagickImage object to an XPS format.

            MagickImage img = new MagickImage(doc.Doc);
            img.Format = MagickFormat.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.
Mar 11 at 8:39 AM
Only reading XPS is supported. You cannot write a xps file. You probably want to use another library for this.