
## PngSaveOptions class

Class for XPS-as-PNG saving options.

**Inheritance:** `PngSaveOptions` → [`ImageSaveOptions`](/page/python-net/aspose.page.xps.presentation.image/imagesaveoptions) → [`SaveOptions`](/page/python-net/aspose.page/saveoptions)

The PngSaveOptions type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
| `PngSaveOptions()` | Creates new instance of options. |
## Properties
| Name | Description |
| :- | :- |
| `supress_errors` | Specifies whether errors must be suppressed or not.<br/>            If true suppressed errors are added to [None](/page/python-net/aspose.page/saveoptions/) list.<br/>            If false the first error will terminate the program. |
| `size` | Gets/sets the size of the image. |
| `debug` | Specifies whether debug information must be printed to standard output stream or not. |
| `convert_fonts_to_ttf` | Specifies whether to save non-TrueType fonts to TTF.<br/>            It significantly decreases the volume of the resulting document in PS to PDF conversion<br/>            and increases the speed of conversion of PS files with a large quantity of text in non-TrueType fonts<br/>            to any output format. However there is small vertical shift of text when converting PostSctipt file to image. |
| `additional_fonts_folders` | Specifies additional folders where converter should find fonts for input document.<br/>            Default folder are standard fonts folder where OS finds fonts for internal needs. |
| `jpeg_quality_level` | The Quality category specifies the level of compression for an image.<br/>            Available values are 0 to 100. <br/>            The lower the number specified, the higher the compression and therefore the lower the quality of the image. <br/>            0 value results in lowest quality image, while 100 results in highest. |
| `page_numbers` | Gets/sets the array of numbers of pages to convert. |
| `resolution` | Gets/sets the image resolution. |
| `smoothing_mode` | Gets/sets the smoothing mode. |
| `text_rendering_hint` | Gets/sets the text rendering hint. |
| `interpolation_mode` | Gets/sets the interpolation mode. |
| `image_size` | Gets/sets the size of the output images in pixels. |
| `batch_size` | Specifies the size of a portion of pages to pass from node to node. |
| `before_page_saving_event_handlers` | The collection of event handlers that performs modifications to an XPS page just before it is saved. |

### See Also

* module [`aspose.page.xps.presentation.image`](/page/python-net/aspose.page.xps.presentation.image/)
* package [`aspose.page`](/page/python-net/)

