classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] java.awt.image.ColorModel


From: Ito Kazumitsu
Subject: [patch] java.awt.image.ColorModel
Date: Tue, 13 May 2003 16:48:56 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigory ōmae) APEL/10.3 Emacs/20.7 (i386-*-windows98.2222) MULE/4.1 (AOI) Meadow/1.14 (AWSAKA:62)

I would like to make java.awt.image.ColorModel work.

--- java/awt/image/ColorModel.java.orig Fri Jan 17 06:37:20 2003
+++ java/awt/image/ColorModel.java      Tue May 13 16:30:54 2003
@@ -113,7 +113,7 @@
   {
     this(bits * 4, // total bits, sRGB, four channels
         nArray(bits, 4), // bits for each channel
-        null, // FIXME: should be sRGB
+        ColorSpace.getInstance(ColorSpace.CS_sRGB), // sRGB
         true, // has alpha
         false, // not premultiplied
         TRANSLUCENT,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]