[cp-patches] FYI: BufferedImage default types

Francis Kung fkung at redhat.com
Thu Oct 19 20:45:47 UTC 2006


This patch corrects some of the default image types in BufferedImage, so
that they use the right ColorModels and SampleModels.

A supporting Mauve test has been committed.

Also included is a tiny fix to BufferedImageGraphics with huge results;
it now recognises the INT_RGB image type and optimizes it properly,
resulting in a huge speedup (see PR 29510).


2006-10-19  Francis Kung  <fkung at redhat.com>

	PR 29510
	* java/awt/image/BufferedImage.java
	(constructor): Updated some properties of default image types.
	* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
	(argb32): Updated field to match default in BufferedImage.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: BufferedImageTypes.diff
Type: text/x-patch
Size: 4896 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20061019/7dbc634f/BufferedImageTypes.bin

More information about the Classpath-patches mailing list