---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/optimizeimageoptions
---

# OptimizeImageOptions

## Overview

`OptimizeImageOptions` is a type in Aspose.PDF FOSS for Go.

OptimizeImageOptions controls image optimization behavior.

Properties: `ConvertPNGToJPEG`, `JPEGQuality`, `MaxDPI`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `MaxDPI` | `float64` | Read/Write | Gets the max dpi. |
| `JPEGQuality` | `int` | Read/Write | Gets the jpeg quality. |
| `ConvertPNGToJPEG` | `bool` | Read/Write | Gets the convert png to jpeg. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)