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

com.github.hoantran.lib.utility.image.ImageConstants Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
/**
 * Created by Hoan Tran @ http://hoantran-it.blogspot.com
 *
 * Any modifications to this file must keep this entire header intact.
 *
 */
package com.github.hoantran.lib.utility.image;

import java.awt.image.BufferedImage;

/**
 * @author hoan.tran
 */
public class ImageConstants {

    public class ImageExtension {
        public static final String DEFAULT_IMAGE_FORMAT = "png";
        public static final String PNG_FORMAT = "png";
        public static final String JPG_FORMAT = "jpg";
    }

    public class ImageIntType {
        public static final int DEFAULT_IMAGE_TYPE = BufferedImage.TYPE_INT_ARGB;
        public static final int PNG_IMAGE_TYPE = BufferedImage.TYPE_INT_ARGB;
        public static final int JPG_IMAGE_TYPE = BufferedImage.TYPE_INT_RGB;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy