Symbian
Symbian OS Library

FAQ-0527 Why does Java seem to display only four grey levels?

[Index][spacer] [Previous] [Next]



 

Classification: Java Category: AWT
Created: 10/19/2000 Modified: 06/25/2001
Number: FAQ-0527
Platform: Not Applicable

Question:
I am displaying a 16 grey level jpeg image using Java, but it only appears on the screen in 4 levels of grey. Is it possible to display the full 16 levels under Java? I have managed to display all the grey levels using C++ so I know the device is capable.

Answer:
In Symbian's Runtime for Java, only 4 grey levels are available for use. Likewise only 256 colours are accessible. It is intended that in a future release, the 16 grey levels available to native code will be usable also by Java programs.