Using the BitMapExtended library the code below rotates an imageview:
' Where btmpex is a Global (Dim btmpex As BitmapExtended); btmp is a Global (Dim btmp As Bitmap); RotV is a Global set to 0 at Activity_Create
Sub Label1_Click
RotV = RotV + 90
If RotV > 270 Then RotV = 0
imgView.Bitmap = btmpex.rotateBitmap(btmp,RotV) '
End Sub
My question is - how do I save the ROTATED imageview to a Directory/FileName? It seems that File.OpenOutput would be a place to start - bit I can not figure it out. Any help would be appreciated.
' Where btmpex is a Global (Dim btmpex As BitmapExtended); btmp is a Global (Dim btmp As Bitmap); RotV is a Global set to 0 at Activity_Create
Sub Label1_Click
RotV = RotV + 90
If RotV > 270 Then RotV = 0
imgView.Bitmap = btmpex.rotateBitmap(btmp,RotV) '
End Sub
My question is - how do I save the ROTATED imageview to a Directory/FileName? It seems that File.OpenOutput would be a place to start - bit I can not figure it out. Any help would be appreciated.