Skip to content

Commit 3acd663

Browse files
committed
changed GhostscriptRasterizer methods to support Stream insted of the MemoryStream.
1 parent b31f5c8 commit 3acd663

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Ghostscript.NET/Rasterizer/GhostscriptRasterizer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ protected virtual void Dispose(bool disposing)
125125

126126
#region Open - stream
127127

128-
public void Open(MemoryStream stream)
128+
public void Open(Stream stream)
129129
{
130130
if (stream == null)
131131
{
@@ -153,7 +153,7 @@ public void Open(string path)
153153

154154
#region Open - stream, versionInfo, dllFromMemory
155155

156-
public void Open(MemoryStream stream, GhostscriptVersionInfo versionInfo, bool dllFromMemory)
156+
public void Open(Stream stream, GhostscriptVersionInfo versionInfo, bool dllFromMemory)
157157
{
158158
if (stream == null)
159159
{
@@ -197,7 +197,7 @@ public void Open(string path, GhostscriptVersionInfo versionInfo, bool dllFromMe
197197

198198
#region Open - stream, library
199199

200-
public void Open(MemoryStream stream, byte[] library)
200+
public void Open(Stream stream, byte[] library)
201201
{
202202
if (stream == null)
203203
{

0 commit comments

Comments
 (0)