(keitai-l) graphics in i-appli

From: Jørn Are Sjulsen <are_at_stiler.com>
Date: 02/14/01
Message-ID: <004d01c0969c$be699930$0200000a@are1>
hello.

according to http://www.eurotechnology.com/imode/faq-handsets.html, the new
java enabled phones all have 256 color screens, but running a small test
program i wrote on the i-jade emulator, gives me somewhat different results.
(a screenshot can be found at: http://www.uio.no/~jornas/testshot.jpg).

the test program loads up 3 gif's, all with different pallettes, draws a
portion of each to the screen, and then, using the Graphics.getColorOfRGB()
method, draws one red gradient, one green gradient, and one blue gradient.
the result is that all pictures show up just fine, while the gradients all
seem to be using a fixed 332 rgb pallette, making them look very bad.

is all this because the i-jade simulator does something weird, or can the
phones change pallette between drawing operations? in the latter case, is
there a limit to how many different colors that can actually be shown
onscreen at the same time?

also, is there a way to render your own pixels to the screen (without
calling fillRect() for each pixel), something like the class
MemoryImageSource in the standard java edition?

thanks in advance.

-are




[ Did you check the archives?   http://www.appelsiini.net/keitai-l/ ]
Received on Wed Feb 14 17:30:25 2001