Examples

Convert PDF to BMP (.NET Core/Framework)

Use DynamicPDF Rasterizer for .NET to efficiently and easily convert any PDF to a bitmap (BMP) image.

Watch the Video

Converting a PDF to Bitmap

Follow these steps and sample code example to convert a PDF file to Bitmap images.

Steps

  1. Create a PdfRasterizer object instance using the source PDF document.
  2. Call the Draw method by specifying the file path to save the image, the image type as bmp, and the image size as Dpi96 (96 DPI).

Sample code - C#

PdfRasterizer rasterizer = new PdfRasterizer("doc-a.pdf");

rasterizer.Draw("output.bmp", ImageFormat.Bmp, ImageSize.Dpi96);

Getting Started

The NuGet package and an example project are provided to get started.

NuGet Package

DynamicPDF Rasterizer for .NET is on NuGet with package ID ceTe.DynamicPDF.Rasterizer.NET.

NuGet Package ID: ceTe.DynamicPDF.Rasterizer.NET
.

Install directly in Visual Studio using the NuGet Package Manager.

Example Project

Clone or view the sample project on GitHub for an example illustrating how to convert a PDF to a bitmap.

Clone or View Example Project on GitHub

DynamicPDF Rasterizer Information

For more information, refer to the online help documentation.

Why Choose DynamicPDF?

  • Transparent Pricing
  • Lots of Features
  • Easy to Use
  • Great Support
  • Efficient Performance
  • Product Maturity (Over 18 Years)
  • Free Evaluation
  • .NET Core Support (Most Products)
  • Flexible Licensing

We’re Not The Only Ones That Think We’re Great!