Hi guys, I am using low lever camera lib and is working excelent, I am saving the file wiht next code:
no problem....
but when reading the file back and put on a BMP the image is rotated
can anyone explain what I am doing wrong?
thank you
B4X:
Dim Out As OutputStream
Out = File.OpenOutput(XUI.DefaultFolder, "Test.png", False)
Bitmap1.WriteToStream(out, 100, "PNG")
Out.Close
no problem....
but when reading the file back and put on a BMP the image is rotated
B4X:
Dim bmp As B4XBitmap = LoadBitmapResize(File.DirDocuments, "Test.png", 150dip, 150dip, True)
ImageView.Bitmap = bmp
can anyone explain what I am doing wrong?
thank you