Hello,
In my app i have a choice to take a picture (CameraEx) or choose a picture in the gallery
All work fine expet one thing
All my pictures (cameraEx or gallery) are in portrait (it's sure! cause in details it's writing 90°) but when i do
imgProfil.Bitmap
1 ) For CameraEx the picture is landscape (one side)
2) For gallery the pricture is landscape (other side)
So i use
If avatarBitmap.width > avatarBitmap.height Then
Dim rbmp As RSImageProcessing
avatarBitmap = rbmp.rotateBitmap(avatarBitmap, -90)
But i really don't understand i had to do this because all my pictures was portrait
Can someone explain what i do wrong ?
Regards
In my app i have a choice to take a picture (CameraEx) or choose a picture in the gallery
All work fine expet one thing
All my pictures (cameraEx or gallery) are in portrait (it's sure! cause in details it's writing 90°) but when i do
imgProfil.Bitmap
1 ) For CameraEx the picture is landscape (one side)
2) For gallery the pricture is landscape (other side)
So i use
If avatarBitmap.width > avatarBitmap.height Then
Dim rbmp As RSImageProcessing
avatarBitmap = rbmp.rotateBitmap(avatarBitmap, -90)
But i really don't understand i had to do this because all my pictures was portrait
Can someone explain what i do wrong ?
Regards
Last edited: