---
title: "MRC PDF optimization | Nutrient .NET SDK"
canonical_url: "https://www.nutrient.io/guides/dotnet/optimization/pdf-optimization-mrc/"
md_url: "https://www.nutrient.io/guides/dotnet/optimization/pdf-optimization-mrc.md"
last_updated: "2026-05-28T01:45:39.254Z"
description: "How to apply MRC PDF optimization using Nutrient .NET SDK."
---

# MRC PDF optimization

Image-heavy PDFs and scanned documents often have large file sizes. Mixed raster content (MRC) optimization reduces size by separating foreground content (for example, text) from background imagery and applying different compression strategies to each layer.

Use this workflow when you need to:

- Reduce storage footprint for scanned PDFs

- Improve upload and download times

- Keep text readability while compressing image data

## Prepare the project

Register the SDK license before running optimization operations. For setup details, refer to the [getting started with.NET SDK](https://www.nutrient.io/sdk/dotnet/getting-started.md) guide.

```csharp

using GdPicture14;

LicenseManager licence = new LicenseManager();
licence.RegisterKEY("");

```

## Configure MRC optimization

Create a `GdPicturePDFReducer` instance:

```csharp

GdPicturePDFReducer PDFReducer = new GdPicturePDFReducer();

```

Enable MRC in the reducer configuration:

```csharp

PDFReducer.PDFReducerConfiguration.EnableMRC = true;

```

## Process the document

Run reduction on the input PDF and write the optimized output:

```csharp

PDFReducer.ProcessDocument(@"input_image_based.pdf", @"output.pdf");

```

## Handle errors

`ProcessDocument` returns a `GdPictureStatus` value. Use that value in your error handling flow. For details, refer to the [handling errors with.NET SDK](https://www.nutrient.io/guides/dotnet/best-practices.md#error-handling) guide.

## Conclusion

This workflow applies MRC optimization to image-based PDFs to reduce file size while preserving readable output.
---

## Related pages

- [Flatten PDFs in C# .NET](/guides/dotnet/optimization/flatten.md)
- [MRC compression in C#](/guides/dotnet/optimization/hyper-compress-mrc.md)
- [Image and PDF compression in C#](/guides/dotnet/optimization/compress.md)
- [Optimize PDFs using C#](/guides/dotnet/optimization.md)
- [Linearize PDFs in C# .NET](/guides/dotnet/optimization/linearize.md)
- [Optimizing PDFs](/guides/dotnet/optimization/pdf-optimization.md)

