ArtifexSoftware / Ghostscript.NET

Ghostscript.NET - managed wrapper around the Ghostscript library (32-bit & 64-bit). Tested with Ghostscript versions < 10.
https://ghostscript.com
GNU Affero General Public License v3.0
404 stars 155 forks source link

This is no longer a valid example, Ghostscript requires a seekable output for tiff #43

Open WarrenDB opened 6 years ago

WarrenDB commented 6 years ago

https://github.com/jhabjan/Ghostscript.NET/blob/93776b5f0c6284c27d69488227c07660b868734d/Ghostscript.NET.Samples/Samples/ProcessorSample1.cs#L95

Ghostscript now checks to make sure the output stream is seekable, anonymous pipes (and pipes in general) are non-seekable by definition. As seen in the documentation CanSeek is false in all cases.