BitmapFactory.decodeByteArray returns misaligned image

All your problems with Audio, Video and Images.

BitmapFactory.decodeByteArray returns misaligned image

Postby jdw6809 » Mon Jun 20, 2011 1:28 pm

I have a problem that has me stumped at the moment.
I have developed an application that captures an image from the camera.
On my development phone (Nexus One) it works perfectly, but on a particular HTC Desire the image returned by BitmapFactory.decodeByteArray in the PictureCallback code appears corrupted. On close examination the image appears to be shifted on each line as though the row length being used is one or two pixels greater than the actual image row. This gives a diagonal pattern.

Any ideas?
Once Poster
Once Poster
Posts: 1
Joined: Mon Jun 20, 2011 12:14 pm


Return to Multimedia Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 8 guests