GifDevice

Overview

GifDevice is a class in Aspose.PDF FOSS for Java. Inherits from: PageDevice.

Renders a PDF page to GIF format.

This class provides 4 methods for working with GifDevice objects in Java programs. Available methods include: GifDevice, getResolution, process. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: resolution.

Properties

NameTypeAccessDescription
resolutionResolutionReadReturns the resolution used by this device.

Methods

SignatureDescription
GifDevice(resolution: Resolution)Creates a GIF device with the given resolution.
GifDevice(width: int, height: int, resolution: Resolution)Creates a GIF device with explicit pixel dimensions and resolution.
process(page: Page, output: OutputStream)Renders a page and writes the result to the output stream.
getResolution()ResolutionReturns the resolution used by this device.

See Also

 English