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

ConstructorDescription
GifDeviceInitializes a new instance of the {@code GifDevice} class with default resolution.
GifDeviceInitializes a new instance of the {@code GifDevice} class with provided image dimensions, default resolution (=150).
GifDeviceInitializes a new instance of the {@code GifDevice} class with default resolution.
GifDeviceInitializes a new instance of the {@code GifDevice} class with default resolution.
GifDeviceInitializes a new instance of the {@code GifDevice} class with default resolution.
GifDeviceInitializes a new instance of the {@code GifDevice} class with default resolution.

Methods

MethodDescription
processConverts the page into gif and saves it in the output stream.
processInternalConverts 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:

ParameterTypeDescription
widthImage output width.
heightImage 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.