BitmapFactory decodeByteArray RGB565 format

by » Thu, 06 Aug 2009 14:27:42 GMT

Sponsored Links
 In a byte[], I am having the image data of a RGB565 image(no header,
only image content)

I used the decodeByteArray with Bitmap.Options as RGB565 decoder.

But the decoding process failed.

Am I missing anything?

Other Threads

1. Own JAR in /system/framework/

Good day!

I need to put my jar file into the directory "/system/framework", to
make my classes accessible from any application, including classes of
"framework.jar". The issue is that the jar becomes "visible" when I
designate it in the BOOTCLASSPATH variable of the "/init.rc" file.
This feature forces me to modify the device's boot-image. Are there
any other (more simple) ways to embed my JAR that extends standard
Android API? Thank you.

P.S. Sorry for my poor English.


2. Loading images to WebView from Stream or byte[]

Hi. I have files with inner binary format and read HTML from them. HTML also
may contains a images, but I can't save this images to temp files for load
by WebView. Now I solve this problem by encoding image binary content by
base64 and insert as inline image in img tag, but this method is too slow on
big images.
I want to override some WebView's method to load images from my streams or
byte array (byte[]), but I didn't find suitable method. What can you to
suggest me?
Thanks in advance.

P.S. Sorry for my bad english, I'm from Russia :)


3. Simple BroadcastReceiver

4. Nexus S NDEF

5. Problem in setting Camera in 3D Android using opengles

6. Launching Google maps from another app

7. Android InApp Billing, how to get a list of ALL available Items (+ Infos)