Android Question Converting ARGB_565 to ARGB_8888

WebbyBoy

Member
Licensed User
Longtime User
Hi,

I'm trying to create an app using Tesseract OCR. By default it only takes ARGB_8888 format pics, but my camera takes ARGB_565

Is there a way of converting this is B4A. I've tried to use the bitmapExtended libs & compress, but the output is not writing correctly (or at all).

Is there an easy way of doing this?
 

WebbyBoy

Member
Licensed User
Longtime User
Sorry, I'm pretty new to B4A. I see the references to the 565 set, but not how to convert it. Any chance of a cheeky example?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…