diff --git a/src/UglyToad.PdfPig/Rendering/IPageImageRenderer.cs b/src/UglyToad.PdfPig/Rendering/IPageImageRenderer.cs index 696076a4..a5509811 100644 --- a/src/UglyToad.PdfPig/Rendering/IPageImageRenderer.cs +++ b/src/UglyToad.PdfPig/Rendering/IPageImageRenderer.cs @@ -1,5 +1,4 @@ -using System.IO; -using UglyToad.PdfPig.Content; +using UglyToad.PdfPig.Content; namespace UglyToad.PdfPig.Rendering { @@ -15,6 +14,6 @@ namespace UglyToad.PdfPig.Rendering /// The scale to apply to the page (i.e. zoom level). /// The output image format, if supported. /// The image as a memory stream. - MemoryStream Render(Page page, double scale, PdfRendererImageFormat imageFormat); + byte[] Render(Page page, double scale, PdfRendererImageFormat imageFormat); } }