Hi to all
i am using the example of erel with canvas to trace the mouse movement on a B4xView(Pane) and save it as Bitmap on a B4xImageView
Thi's is the result
then I save the image as a blob in a database
When I reload the image from the database, I find the black background, classic of a PNG with a transparent background.
How can i bring back the Bitmap with a white background?
Changing the pixels?
And if before capturing the canvas I transform the bitmap into jpeg
Thanks to all.
i am using the example of erel with canvas to trace the mouse movement on a B4xView(Pane) and save it as Bitmap on a B4xImageView
Thi's is the result
B4X:
imgTrace.Bitmap = cvsDrawing.CreateBitmap
then I save the image as a blob in a database
B4X:
Dim base as String = Base64EncodeDecodeImage.Base64ImageToString2(imgTrace.Bitmap)
How can i bring back the Bitmap with a white background?
Changing the pixels?
And if before capturing the canvas I transform the bitmap into jpeg
Thanks to all.