> We need to read encoded image files (gif or jpeg depending on the
> phone)
> from a host server and decode them into memory before we display it.
> So far
> we can only decode and display it at the same time!
>
> In fact, we need to modify the bitstream before we decode it and then
> we
> have to modify the resulting image bit-map before we display it.
>
You can modify the bitstream by first of all reading the data from the
server into a byte array. Once it's in a byte array you can manipulate
it as you wish. The DoJa API doesn't allow you to create an image
directly from a byte array so you should put the byte data into the
scratch pad. You can then create the image from the data stored in the
scratch pad.
I don't think it's possible to manipulate an image once it has been
unencoded into an Image object.
Hope this helps!
--
Gary James
Project Leader (Theta Team)
Layer-8 Technologies, LINC Media Group
[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Thu Sep 6 06:02:43 2001