All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dynamicpdf.api.imaging.GifImageFormat Maven / Gradle / Ivy

Go to download

A Java Client API that uses the DynamicPDF Cloud API to create, merge, split, form fill, stamp, secure/encrypt PDF documents.

The newest version!
package com.dynamicpdf.api.imaging;

/**
 * Represents GIF image format with dithering properties.
 */
public class GifImageFormat extends ImageFormat {
    private Integer ditheringPercent;
    private DitheringAlgorithm ditheringAlgorithm;

    /**
     * Gets the dithering percentage.
     * @return The dithering percentage.
     */
    public Integer getDitheringPercent() {
        return ditheringPercent;
    }

    /**
     * Sets the dithering percentage.
     * @param ditheringPercent The dithering percentage.
     */
    public void setDitheringPercent(Integer ditheringPercent) {
        this.ditheringPercent = ditheringPercent;
    }

    /**
     * Gets the dithering algorithm.
     * @return The dithering algorithm.
     */
    public DitheringAlgorithm getDitheringAlgorithm() {
        return ditheringAlgorithm;
    }

    /**
     * Sets the dithering algorithm.
     * @param ditheringAlgorithm The dithering algorithm.
     */
    public void setDitheringAlgorithm(DitheringAlgorithm ditheringAlgorithm) {
        this.ditheringAlgorithm = ditheringAlgorithm;
    }

    /**
     * Initializes a new instance of the GifImageFormat class and sets the image format type to GIF.
     */
    public GifImageFormat() {
        super(ImageFormatType.GIF);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy