Problems in 'fill_plasma': 1. The raw data of the *pxl*-array can not contain JPEG encoded data. Instead it must be encoded as RGB_565, each 2 bytes having 5 bits of red, 6 bits of green and 5 bits of blue. 2. You can not assign the bitmap's raw-data array address (*pxl*) to your compressed buffer-address. Instead, you'll have to copy each individual pixel from '*buf*' into '*pxl*'. Use a for-loop and copy each byte from the *buf*-array into *pxl*-array.
-- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/android-discuss/-/RcWLc1ZnHAUJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en.
