Wish Possibility to look at an image/bitmap while debugging in a popup windows

moster67

Expert
Licensed User
Longtime User
While debugging, it would be handy to be able to look at an image at a breakpoint

B4X:
sub MyDoingSOmethingWIthAnImage()
'..................
 Dim bmp As Bitmap = BytesToImage(imgbyte)
    'hoover over the bmp variable and have an option to
    'look at the image in a popup windows
End Sub


Public Sub BytesToImage(bytes() As Byte) As Bitmap
    Dim In As InputStream
    In.InitializeFromBytesArray(bytes, 0, bytes.Length)
    Dim bmp As Bitmap
    bmp.Initialize2(In)
    In.Close
    Return bmp
End Sub

(for all B4X IDEs)
 
Top