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
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