Method Summary |
|
public static ImageEncoder | newInstance(String format) Used to retrieve an ImageEncoder for a specific image format.
Parameters: format - The image format required. |
public static ImageEncoder | newInstance(String format, float quality) Used to retrieve an ImageEncoder for a specific image format.
Parameters: format - The image format required. Parameters: quality - The quality to be set before returning. |
public static ImageEncoder | newInstance(String format, boolean encodingAlpha) Used to retrieve an ImageEncoder for a specific image format.
Parameters: format - The image format required. Parameters: encodingAlpha - Sets whether alpha transparency should be encoded. |
public static ImageEncoder | newInstance(String format, float quality, boolean encodingAlpha) Used to retrieve an ImageEncoder for a specific image format.
Parameters: format - The image format required. Parameters: quality - The quality to be set before returning. Parameters: encodingAlpha - Sets whether alpha transparency should be encoded. |
public static void | setImageEncoder(String format, String imageEncoderClassName) Used to set additional encoders or replace default ones. |