bug-classpath
[Top][All Lists]
Advanced

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

[Bug awt/27239] Images shown with wrong color on powerpc (big endian)


From: andreast at gcc dot gnu dot org
Subject: [Bug awt/27239] Images shown with wrong color on powerpc (big endian)
Date: 3 Jul 2006 21:58:54 -0000


------- Comment #21 from andreast at gcc dot gnu dot org  2006-07-03 21:58 
-------
Ok, I found some time to analyze the situation. The version you reported this
bug against is ancient. We try to avoid bug fixing for older releases. In this
case I guess 0.91 (the actual release) contains the same bug.

Backporting my 'fix' would be a bit difficult since a lot in this area changed
dramatically. (On the good way).

I can try to fix it for 0.91 if you like.
On the otherhand I observed that the test program uses
BufferedImage.TYPE_INT_RGB.

If you change this to BufferedImage.TYPE_INT_ARGB you can actually see the
correct image even if it is a simple RGB. The ww2d-goldengate.png for example
is a RGBA picture. Doing the ARGB change shows me the 'right' colors. Taking a
RGB also works.

On the current cvs tree I can take the unmodified PR27239.java and it works for
both. Means I do not have to change RGB to ARGB.

Let me know how important it is for you to have a fix for 0.91.
Thanks,
Andreas


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27239





reply via email to

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