harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lang Yang (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6566) Implement ImageTypeSpecifier.createBufferedImage() and ImageTypeSpecifier.getBufferedImageType()
Date Fri, 02 Jul 2010 05:02:52 GMT
Implement ImageTypeSpecifier.createBufferedImage() and ImageTypeSpecifier.getBufferedImageType()
------------------------------------------------------------------------------------------------

                 Key: HARMONY-6566
                 URL: https://issues.apache.org/jira/browse/HARMONY-6566
             Project: Harmony
          Issue Type: Sub-task
          Components: Classlib
            Reporter: Lang Yang
         Attachments: HARMONY-6566.diff

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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message