i have this code to take a photo from cam (with ACL - Advanced Camera Library)
how can i rotate of 90°???
how can i rotate of 90°???
Sub PhotoButton_Click
PhotoButton.Enabled = False
objCamera.TakePicture '--- take photo (not TakePicture2 because too big...)
End Sub
Sub objCamera_PictureTaken(Data() As Byte)
root=File.DirRootExternal
path1 = root & "/DCIM/Camera"
objCamera.StartPreview
blnIsCameraInPreview = True
'---->>> HOW ROTATE OF 90° ???? <<---------
'--- write image ---
Dim out As OutputStream
out = File.OpenOutput(path1, newFilename, False)
out.WriteBytes(Data, 0, Data.Length)
out.Close
end sub