Your documentation says:
image.png (22.6 KB)
How can I implement PS -> EPS and EPS -> PS
I’ve tried:
using (var inputStream = new FileStream(“foo.ps”, FileMode.Open, FileAccess.Read))
{
var document = new PsDocument(inputStream);
using (var outputStream = new FileStream(“foo.eps”, FileMode.CreateNew, FileAccess.Write))
{
document.Save(outputStream);
}
}
But this only gets me:
System.NullReferenceException: Object reference not set to an instance of an object.
at #=zqqnjZt8PZxYeXBX2iuoMfJWz714Ey0lYSTlBhgWCzBCM.#=zp7CmAxc=(Stream #=z0OephgFSQbaw, #=zuxPH3$60dlu14z$fvF9CAszHThjG #=za$zGzt8=)
at Aspose.Page.EPS.PsDocument.Save(Stream epsStream)
at Filestar.Plugin.AsposePage.ConvertEpsSkill.<>c__DisplayClass0_0.b__0() in C:\Repos\Filestar\Filestar.Plugin.AsposePage\ConvertEpsSkill.cs:line 41