Skip to main content

How to get the byte[] data from an Image object ?

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2011-05-18

I have a LWUIT Image object and I want to get the raw byte[] data from it. How to achieve that ?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-11-07

If your image is an instance of EncodedImage (default for images loaded from resource file) just use getImageData()