Description
Spec:
http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/ImageTypeSpecifier.html#createBufferedImage(int, int)
http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/ImageTypeSpecifier.html#getBufferedImageType()
Create a BufferedImage requires two major components.
1. ColorModel - the ColorModel is there when ImageTypeSpecifier object created.
2. WritableRaster - the WritableRaster can be created use the SampleModel
For getBufferedImageType(), we create a dummy BufferedImage from createBufferedImage with width and height to be 1, and get the type of this dummy object