---
title: "Converting PDF documents to image format | Nutrient .NET SDK"
canonical_url: "https://www.nutrient.io/guides/dotnet/csharp/conversion/pdf-to-image/"
md_url: "https://www.nutrient.io/guides/dotnet/csharp/conversion/pdf-to-image.md"
last_updated: "2026-10-08T00:00:00.000Z"
description: "Convert PDF documents to images using Nutrient .NET SDK."
---

# Converting PDF documents to image format

Convert PDF documents to images when you need previews, thumbnails, or image-based processing output. Image export makes document content usable in systems that don’t support PDF rendering.

## How Nutrient supports this workflow

Nutrient.NET SDK converts PDF files to images.

You don’t need to manage:

- PDF structure parsing

- Rasterization of vector content and fonts

- Color and resolution rendering details

- Custom rendering pipelines

Use the SDK API to generate image output in your application.

## Complete implementation

This example shows a complete PDF-to-image conversion flow.

Import the Nutrient namespace:

```csharp

using Nutrient;

```

Open the PDF with a [using declaration](https://learn.microsoft.com/dotnet/csharp/language-reference/statements/using). The runtime disposes the document automatically:

```csharp

try
{
    using Document document = Document.Open("input_image_based.pdf");

```

Export the document as a PNG file and catch `NutrientException` to handle SDK errors:

```csharp

    document.ExportAsImage("output.png");
    Console.WriteLine("Successfully converted to output.png");
}
catch (NutrientException e)
{
    Console.Error.WriteLine($"Error: {e.Message}");
    Environment.Exit(1);
}

```

## Multi-page documents

When the input PDF has more than one page, PNG, JPEG, and BMP outputs are written as numbered files (`output-1.png`, `output-2.png`, …) — one image per page. TIFF preserves the single-file multi-page form. Refer to the [PDF pages to images](https://www.nutrient.io/guides/dotnet/csharp/conversion/pdf-pages-to-images.md) guide for the per-page case.

## Summary

The conversion flow has two steps:

1. Open the document.

2. Export it as an image.

Nutrient handles PDF rendering and image generation, so you don’t need to implement rasterization logic yourself.
---

## Related pages

- [Nutrient .NET SDK conversion guides](/guides/dotnet/csharp/conversion.md)
- [Converting CAD files to PDF](/guides/dotnet/csharp/conversion/cad-to-pdf.md)
- [Converting email files to PDF](/guides/dotnet/csharp/conversion/email-to-pdf.md)
- [Converting a document from XLSX to PDF format](/guides/dotnet/csharp/conversion/excel-document-to-pdf.md)
- [Converting HTML to PDF](/guides/dotnet/csharp/conversion/html-to-pdf.md)
- [Converting a document from Markdown to PDF format](/guides/dotnet/csharp/conversion/markdown-to-pdf.md)
- [Converting PDF pages to images](/guides/dotnet/csharp/conversion/pdf-pages-to-images.md)
- [Converting PDF documents to Excel format for data analysis](/guides/dotnet/csharp/conversion/pdf-to-excel-document.md)
- [Converting PDF documents to HTML format for web publishing](/guides/dotnet/csharp/conversion/pdf-to-html.md)
- [Converting PDF documents to Markdown format](/guides/dotnet/csharp/conversion/pdf-to-markdown.md)
- [Converting PDF documents to PDF/A format](/guides/dotnet/csharp/conversion/pdf-to-pdf-a.md)
- [Converting PDF documents to PDF/UA format](/guides/dotnet/csharp/conversion/pdf-to-pdf-ua.md)
- [Converting PDF documents to PowerPoint presentations](/guides/dotnet/csharp/conversion/pdf-to-powerpoint-document.md)
- [Converting a document from PDF to DOCX format](/guides/dotnet/csharp/conversion/pdf-to-word-document.md)
- [Converting a document from PPTX to PDF format](/guides/dotnet/csharp/conversion/powerpoint-document-to-pdf.md)
- [Preparing and troubleshooting PDF/A conversion](/guides/dotnet/csharp/conversion/prepare-and-troubleshoot-pdf-a-conversion.md)
- [Converting a Word document to PDF while preserving comments](/guides/dotnet/csharp/conversion/word-document-to-pdf-including-comments.md)
- [Converting a document from DOCX to PDF/UA format](/guides/dotnet/csharp/conversion/word-document-to-pdf-ua.md)
- [Converting a document from DOCX to PDF format](/guides/dotnet/csharp/conversion/word-document-to-pdf.md)

