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

org.ajax4jsf.framework.util.image.imageio.gif.GIFImageWriteParam Maven / Gradle / Ivy

Go to download

Ajax4jsf is an open source extension to the JavaServer Faces standard that adds AJAX capability to JSF applications without requiring the writing of any JavaScript.

The newest version!
/*
 * Helma License Notice
 *
 * The contents of this file are subject to the Helma License
 * Version 2.0 (the "License"). You may not use this file except in
 * compliance with the License. A copy of the License is available at
 * http://adele.helma.org/download/helma/license.txt
 *
 * Copyright 1998-2003 Helma Software. All Rights Reserved.
 *
 * $RCSfile: GIFImageWriteParam.java,v $
 * $Author: sergeysmirnov $
 * $Revision: 1.1 $
 * $Date: 2006/04/28 02:05:55 $
 */

/*
 * The imageio integration is inspired by the package org.freehep.graphicsio.gif
 */

package org.ajax4jsf.framework.util.image.imageio.gif;

import java.util.Locale;
import java.util.Properties;

import javax.imageio.ImageWriteParam;

public class GIFImageWriteParam extends ImageWriteParam {

    private boolean quantizeColors;
    private String quantizeMode;

    public GIFImageWriteParam(Locale locale) {
        super(locale);
        canWriteProgressive = true;
        progressiveMode = MODE_DEFAULT;
    }

    public ImageWriteParam getWriteParam(Properties properties) {
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy