Android Question Resize Image With SMM

PumaCyan

Member
Licensed User
how to change the image file size from the originally large server to small size? so that when loading multiple images the process becomes faster
I use SMM and Panel to display the image

My Code:
MediaManager.SetMediaWithExtra(PanelImage, https://.......,"", CreateMap(MediaManager.REQUEST_RESIZE_MODE : "FILL_NO_DISTORTIONS"))
 

Attachments

  • Screenshot_20221013-075914.png
    Screenshot_20221013-075914.png
    169.7 KB · Views: 130

TILogistic

Expert
Licensed User
Longtime User
tips:

if you are using PreoptimizedCLV.
This will help visualize the images.

example;
B4X:
PCLV.ExtraItems = 10 ' or more

and TimeOut
B4X:
    MediaManager.SleepDurationBeforeDownload = 0
    MediaManager.DefaultRequestTimeout = 60000
 
Last edited:
Upvote 0
Top