harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6566) Implement ImageTypeSpecifier.createBufferedImage() and ImageTypeSpecifier.getBufferedImageType()
Date Mon, 05 Jul 2010 11:36:49 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tim Ellison resolved HARMONY-6566.
----------------------------------

    Fix Version/s: 5.0M15
       Resolution: Fixed

Thanks Lang,

Patch applied to imageio module at repo revision r960559.

Please verify it was applied as you expected.


> 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
>            Assignee: Tim Ellison
>             Fix For: 5.0M15
>
>         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