
## GifDevice class

Represents image device that helps to save pdf document pages into gif.

The GifDevice type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|GifDevice()|Initializes a new instance of the [GifDevice](/pdf/python-net/aspose.pdf.devices/gifdevice/) class with default resolution.|
|GifDevice(resolution)|Initializes a new instance of the GifDevice class|
|GifDevice(width, height, resolution)|Initializes a new instance of the GifDevice class|
|GifDevice(page_size, resolution)|Initializes a new instance of the GifDevice class|
|GifDevice(width, height)|Initializes a new instance of the GifDevice class|
|GifDevice(page_size)|Initializes a new instance of the GifDevice class|
## Properties
| Name | Description |
| :- | :- |
|coordinate_type|Gets or sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.|
|rendering_options|Gets or sets rendering options.|
|form_presentation_mode|Gets or sets form presentation mode.|
|resolution|Gets image resolution.|
|width|Gets image output width.|
|height|Gets image output height.|
## Methods
| Name | Description |
| :- | :- |
|process(page, output)|Converts the page into gif and saves it in the output stream.|
|process(page, output_file_name)|Converts the page into gif and saves it in the output stream.|

### See Also

* namespace [aspose.pdf.devices](/pdf/python-net/aspose.pdf.devices/)
* assembly [Aspose.PDF](/pdf/python-net/)

