PDF to BMP - pqScan.com
.NET PDF to BMP Converter How to Change and Convert PDF into BMP Image Files in .NET Online Demo Download Trial Purchase Now

How to Convert PDF to BMP

back to home  >  .NET PDF to Image SDK   >  How to Convert PDF to Image in .NET  >  .NET PDF to BMP Conversion Overview

pqScan PDF to Image for .NET enables developers to load and convert PDF files in any .NET applications without installation of Adobe reader. This PDF to BMP converter control is used for converting pages in PDF and saving them as BMP image files. This page is an overview of .NET conversion from PDF document to image BMP.

BMP Image File

BMP file format, also known as bitmap image file or device independent bitmap (DIB) file format, is a raster graphics image file format used to store bitmap digital images. This raster image file format is capable of storing 2D digital images of arbitrary width, height, and resolution, both monochrome and color, in various color depths, and optionally with data compression, alpha channels, and color profiles.

Preparation for Converting PDF to BMP in .NET

Before getting started to use our .NET software for PDF to BMP converting, please make sure you've already well prepared for the following aspects.

  • Visual Studio 2005, 2008, 2010, 2012 or 2013 version
  • .NET Framework 2.0, 3.0, 3.5, 4.0, or 4.5 version
  • Any Microsoft Windows Operating System
  • x86 or x64 platform
  • ASP.NET web application
  • .NET Windows Forms application
  • Console application

PDF to BMP Conversion Properties

Property: PDF Page Count

.NET PDF to Image SDK provides the property for PDF file page count. Users may use the code below to count PDF file page and decide which PDF page or how many PDF pages to be rendered and converted BMP image file(s). Certainly, you may directly choose to change the whole PDF document to BMP images.

public int PageCount;

Property: DPI (Dots per Inch)

If .NET developers want to improve the output bitmap's definition, DPI property customization is supported.

public double DPI;

PDF to BMP Conversion APIs

Load PDF to .NET Project

Flexible file loading methods are supplied for .NET application, including loading from local PDF file and loading from stream (memory stream and file stream).

public bool LoadPDF(string fileName);
public bool LoadPDF(Stream stream);

Get to Know PDF Page Size

For better implementing PDF-to-BMP conversion in .NET project, original page size can be obtained. .NET developers can reference the original PDF page size before specifying the wanted BMP image size.

public int GetPageHeight(int pageIndex);
public int GetPageWidth(int pageIndex);

Get the Converted BMP Image

.NET developers can easily get a PDF document page and then change it to a BMP image. The method below is used to specify a page via index parameter. In addition, several defined pages can be turned into BMP image files simultaneously.

Public Bitmap ToImage(int pageIndex);

If you would like to resize the output .bmp image(s), please add the code below.

Public Bitmap ToImage(int pageIndex, int width, int height);
pqScan SDK
.NET PDF to Image Converter
Online Guide
How to Convert PDF to Image
Conversion Type
C# Converting PDF to PNG C# Converting PDF to JPEG VB.NET Converting PDF to GIF VB.NET Converting PDF to TIFF ASP.NET Converting PDF to JPG ASP.NET Converting PDF to GIF .NET Converting PDF to Multi-page TIFF .NET Converting PDF to PNG View All Image Types >>
Currently, we used pqScan PDF converter tool for development. I'm confident to say that it is an intellectual choice to use this product. Very easy to use and saves a lot of time. The implementation is great. Orville Burch