Quantcast
Channel: Ghostscript.NET
Viewing all articles
Browse latest Browse all 393

New Post: GhostscriptRasterizer Open

$
0
0
Hi,

is there a special reason to use MemoryStream in the parameter of Open in the GhostscriptRasterizer class?

Because i need to call it with Stream. The only way to get a MemoryStream from a Stream is to copy it in memory.

I did a look at GhostscriptRasterizer (on github) and it passes the MemoryStream object to GhostscriptViewer Open method which uses Stream as Parameter. And then it gets written to a temporary file.

I think it would be better to use Stream instead of MemoryStream.

Greetings

Viewing all articles
Browse latest Browse all 393

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>