restes.blogg.se

Pdf to image converter
Pdf to image converter












The NuGet package and an example project are provided to get started. Rasterizer.Draw("output.bmp", ImageFormat.Bmp, ImageSize.Dpi96)

Pdf to image converter pdf#

Sample code - C# ( PDF to BMP) PdfRasterizer rasterizer = new PdfRasterizer("doc-a.pdf") Rasterizer.Draw("output.gif", ImageFormat.Gif, ImageSize.Dpi150) Sample code - C# ( PDF to GIF) PdfRasterizer rasterizer = new PdfRasterizer("doc-a.pdf") Rasterizer.DrawToMultiPageTiff("output.tiff", ImageFormat.TiffWithCcitGroup4, ImageSize.Dpi150) Sample code - C# ( Multi-page TIFF from PDF) PdfRasterizer rasterizer = new PdfRasterizer("doc-a.pdf") Repeat step two, but change the type to bmp.Repeat step two, but change the type to gif.Call the DrawToMultiPageTiff method by specifying the file path to save the image, the image type as TiffWithCcitGroup4, and the image size as Dpi150.DynamicPDF Rasterizer has the following tiff image formats available for PDF to TIFF image conversion. Sample code - C# ( PDF to TIFF) PdfRasterizer rasterizer = new PdfRasterizer("doc-a.pdf") Ĭreate a multipage TIFF from a PDF by using the PdfRasterizer class's DrawToMultiPageTiff method. Rasterizer.Draw("output.png", ImageFormat.Png, ImageSize.Dpi300) Sample code - C# ( PDF to PNG) PdfRasterizer rasterizer = new PdfRasterizer("doc-a.pdf") Rasterizer.Draw("output.jpg", ImageFormat.Jpeg, ImageSize.Dpi72)

pdf to image converter

Sample code - C# ( PDF to JPG) PdfRasterizer rasterizer = new PdfRasterizer("doc-a.pdf")

  • Repeat step two, but change the file type to tiff and Dpi300.
  • Repeat step two, but change the file type to png and Dpi300.
  • Call the Draw method by specifying the file path to save the image, the image type as jpeg, and the image size as Dpi72.
  • Create a PdfRasterizer object instance using the source PDF document. This Online PDF Converter can convert all your files to PDF but also compress and merge PDF files Word, Excel, PowerPoint, images and any other kind of document can be easily converted to PDF on Free and completely online.
  • Follow these steps and sample code example to convert a PDF file to multiple image formats.












    Pdf to image converter