Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
Description
Implement:
1 - public static ImageTypeSpecifier createGrayscale(int bits, int dataType, boolean isSigned)
2 - public static ImageTypeSpecifier createGrayscale(int bits, int dataType, boolean isSigned, boolean isAlphaPremultiplied)
spec - http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/ImageTypeSpecifier.html#createGrayscale(int, int, boolean)
I used ComponentColorModel to create ColorModel and compatible SampleModel.