Matteo Granatiero Active Member Licensed User Longtime User Dec 21, 2017 #1 I would like to rotate a certain image "jeans.jpg" contained in a certain folder, 90 degrees directly from the code, therefore without loading it on an ImageView or other.
I would like to rotate a certain image "jeans.jpg" contained in a certain folder, 90 degrees directly from the code, therefore without loading it on an ImageView or other.
Erel B4X founder Staff member Licensed User Longtime User Dec 21, 2017 #2 Code: Dim b As Bitmap = LoadBitmap(...).Rotate(90) Dim out As OutputStream = File.OpenOutput(...) b.WriteToStream(...) out.Close Consider using LoadBitmapResize instead of LoadBitmap if the image files can be large. Upvote 0
Code: Dim b As Bitmap = LoadBitmap(...).Rotate(90) Dim out As OutputStream = File.OpenOutput(...) b.WriteToStream(...) out.Close Consider using LoadBitmapResize instead of LoadBitmap if the image files can be large.
Matteo Granatiero Active Member Licensed User Longtime User Dec 21, 2017 #3 Erel said: Code: Dim b As Bitmap = LoadBitmap(...).Rotate(90) Dim out As OutputStream = File.OpenOutput(...) b.WriteToStream(...) out.Close Consider using LoadBitmapResize instead of LoadBitmap if the image files can be large. Click to expand... the code not reponse Upvote 0
Erel said: Code: Dim b As Bitmap = LoadBitmap(...).Rotate(90) Dim out As OutputStream = File.OpenOutput(...) b.WriteToStream(...) out.Close Consider using LoadBitmapResize instead of LoadBitmap if the image files can be large. Click to expand... the code not reponse
M Mahares Expert Licensed User Longtime User Dec 21, 2017 #4 Matteo Granatiero said: the code not reponse Click to expand... What do you mean by: the code not reponse You need to post your code after Erel's tips. Where are your code lines that Erel has helped you with that you need to complete that show your file and its location. Last edited: Dec 21, 2017 Upvote 0
Matteo Granatiero said: the code not reponse Click to expand... What do you mean by: the code not reponse You need to post your code after Erel's tips. Where are your code lines that Erel has helped you with that you need to complete that show your file and its location.