GifDevice
Inheritance: java.lang.Object, com.aspose.pdf.devices.Device com.aspose.pdf.devices.PageDevice com.aspose.pdf.devices.ImageDevice com.aspose.pdf.devices.GifDevice, com.aspose.pdf.devices.Device, com.aspose.pdf.devices.PageDevice com.aspose.pdf.devices.ImageDevice com.aspose.pdf.devices.GifDevice, com.aspose.pdf.devices.PageDevice, com.aspose.pdf.devices.ImageDevice com.aspose.pdf.devices.GifDevice, com.aspose.pdf.devices.ImageDevice, com.aspose.pdf.devices.GifDevice
public final class GifDevice extends ImageDevice
Represents image device that helps to save pdf document pages into gif.
Constructors
| Constructor | Description |
|---|---|
| GifDevice | Initializes a new instance of the {@code GifDevice} class with default resolution. |
| GifDevice | Initializes a new instance of the {@code GifDevice} class with provided image dimensions, default resolution (=150). |
| GifDevice | Initializes a new instance of the {@code GifDevice} class with default resolution. |
| GifDevice | Initializes a new instance of the {@code GifDevice} class with default resolution. |
| GifDevice | Initializes a new instance of the {@code GifDevice} class with default resolution. |
| GifDevice | Initializes a new instance of the {@code GifDevice} class with default resolution. |
Methods
| Method | Description |
|---|---|
| process | Converts the page into gif and saves it in the output stream. |
| processInternal | Converts the page into gif and saves it in the output stream. |
GifDevice
public GifDevice()
Initializes a new instance of the {@code GifDevice} class with default resolution.
GifDevice
public GifDevice(int width, int height)
Initializes a new instance of the {@code GifDevice} class with provided image dimensions, default resolution (=150).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| width | Image output width. | |
| height | Image output height. |
GifDevice
Initializes a new instance of the {@code GifDevice} class with default resolution.
GifDevice
Initializes a new instance of the {@code GifDevice} class with default resolution.
GifDevice
Initializes a new instance of the {@code GifDevice} class with default resolution.
GifDevice
Initializes a new instance of the {@code GifDevice} class with default resolution.
process
Converts the page into gif and saves it in the output stream.
processInternal
Converts the page into gif and saves it in the output stream.