B4XImageView1.SaveBitmap(Dir As String, FileName As String, Quality As Int, Format As String)
LucaMs Expert Licensed User Longtime User May 7, 2024 #1 B4XImageView1.SaveBitmap(Dir As String, FileName As String, Quality As Int, Format As String) Spoiler: Internal Sub Internal Sub: Dim Out As OutputStream Out = File.OpenOutput(Dir, FileName, False) mBitmap.WriteToStream(Out, Quality, Format) Out.Close Last edited: May 13, 2024
B4XImageView1.SaveBitmap(Dir As String, FileName As String, Quality As Int, Format As String) Spoiler: Internal Sub Internal Sub: Dim Out As OutputStream Out = File.OpenOutput(Dir, FileName, False) mBitmap.WriteToStream(Out, Quality, Format) Out.Close
Erel B4X founder Staff member Licensed User Longtime User May 10, 2024 #2 B4XImageView.Bitmap returns the bitmap. You can then save it. A view shouldn't have features that are not UI related.
B4XImageView.Bitmap returns the bitmap. You can then save it. A view shouldn't have features that are not UI related.
LucaMs Expert Licensed User Longtime User May 10, 2024 #3 Erel said: A view shouldn't have features that are not UI related. Click to expand... It's true but it certainly wouldn't be a harm. It's also an often useful feature.
Erel said: A view shouldn't have features that are not UI related. Click to expand... It's true but it certainly wouldn't be a harm. It's also an often useful feature.