John Decowski Member Licensed User Longtime User Sep 29, 2015 #1 how would you convert the camera output into a bitmap (without having to save it). So you can put the image into a list view?
how would you convert the camera output into a bitmap (without having to save it). So you can put the image into a list view?
Erel B4X founder Staff member Licensed User Longtime User Sep 29, 2015 #2 It is possible to convert the output to a bitmap by using InputStream.InitializeFromBytesArray together with Bitmap.Initialize2. However a better solution will be to save the image to a temporary file and then load it with LoadBitmapSample. Otherwise you will soon run out of memory as the camera images can be huge. Upvote 0
It is possible to convert the output to a bitmap by using InputStream.InitializeFromBytesArray together with Bitmap.Initialize2. However a better solution will be to save the image to a temporary file and then load it with LoadBitmapSample. Otherwise you will soon run out of memory as the camera images can be huge.
John Decowski Member Licensed User Longtime User Sep 29, 2015 #3 Thanks erel much appreciated! Upvote 0