
## ImageRenderingOptions class

Represents rendering options for [`ImageDevice`](/html/python-net/aspose.html.rendering.image/imagedevice). This options is used to specify output image format, compression, resolution etc.



**Inheritance:** [`ImageRenderingOptions`](/html/python-net/aspose.html.rendering.image/imagerenderingoptions) → 
[`RenderingOptions`](/html/python-net/aspose.html.rendering/renderingoptions)



The ImageRenderingOptions type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/html/python-net/aspose.html.rendering.image/imagerenderingoptions/__init__/#) | Initializes a new instance of the [`ImageRenderingOptions`](/html/python-net/aspose.html.rendering.image/imagerenderingoptions) class; [`ImageFormat.PNG`](/html/python-net/aspose.html.rendering.image/imageformat#PNG) will be used as default image format. |
| [__init__](/html/python-net/aspose.html.rendering.image/imagerenderingoptions/__init__/#aspose.html.rendering.image.ImageFormat) | Initializes a new instance of the [`ImageRenderingOptions`](/html/python-net/aspose.html.rendering.image/imagerenderingoptions) class with specified image format. |


### Properties
| Property | Description |
| :- | :- |
| [css](/html/python-net/aspose.html.rendering.image/imagerenderingoptions/css) | Gets a [`CssOptions`](/html/python-net/aspose.html.rendering/cssoptions) object which is used for configuration of css properties processing. |
| [page_setup](/html/python-net/aspose.html.rendering.image/imagerenderingoptions/page_setup) | Gets a page setup object is used for configuration output page-set. |
| [horizontal_resolution](/html/python-net/aspose.html.rendering.image/imagerenderingoptions/horizontal_resolution) | Sets or gets horizontal resolution for output and internal (which are used during filters processing) images, in pixels per inch. By default this property is 300 dpi. |
| [background_color](/html/python-net/aspose.html.rendering.image/imagerenderingoptions/background_color) | Gets or sets Color which will fill background of every page. Default value is Transparent. |
| [vertical_resolution](/html/python-net/aspose.html.rendering.image/imagerenderingoptions/vertical_resolution) | Sets or gets vertical resolution for output and internal (which are used during filters processing) images, in pixels per inch. By default this property is 300 dpi. |
| [format](/html/python-net/aspose.html.rendering.image/imagerenderingoptions/format) | Sets or gets [`ImageFormat`](/html/python-net/aspose.html.rendering.image/imageformat). By default this property is [`ImageFormat.PNG`](/html/python-net/aspose.html.rendering.image/imageformat#PNG). |
| [compression](/html/python-net/aspose.html.rendering.image/imagerenderingoptions/compression) | Sets or gets Tagged Image File Format (TIFF) [`Compression`](/html/python-net/aspose.html.rendering.image/compression). By default this property is [`Compression.LZW`](/html/python-net/aspose.html.rendering.image/compression#LZW). |
| [text](/html/python-net/aspose.html.rendering.image/imagerenderingoptions/text) | Gets a [`TextOptions`](/html/python-net/aspose.html.rendering.image/textoptions) object which is used for configuration of text rendering. |
| [use_antialiasing](/html/python-net/aspose.html.rendering.image/imagerenderingoptions/use_antialiasing) | Specifies whether to use antialiasing. By default, antialiasing is enabled. |



### See Also
* module [`aspose.html.rendering.image`](..)
* class [`Compression`](/html/python-net/aspose.html.rendering.image/compression)
* class [`CssOptions`](/html/python-net/aspose.html.rendering/cssoptions)
* class [`ImageDevice`](/html/python-net/aspose.html.rendering.image/imagedevice)
* class [`ImageFormat`](/html/python-net/aspose.html.rendering.image/imageformat)
* class [`ImageRenderingOptions`](/html/python-net/aspose.html.rendering.image/imagerenderingoptions)
* class [`RenderingOptions`](/html/python-net/aspose.html.rendering/renderingoptions)
* class [`TextOptions`](/html/python-net/aspose.html.rendering.image/textoptions)
