By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,919 Members | 1,625 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,919 IT Pros & Developers. It's quick & easy.

MIDP: create Image from int/byte array?

P: n/a
Bo
Hi

I have an array of int that represents a frame buffer, which I update
dynamicly. Each int is 0xAARRGGBB. In standard java I can use
imageProducer to create an Image object.

In J2ME there is only createImage( Byte[], int,int,int) in the Images
class. From reading past posts it seems the Byte array must adhere to
some PNG format (which I have no idea). In other words, I can't use a
Byte array equivalent of my int array.

Thanks.
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.