angel_ Well-Known Member Licensed User Longtime User Dec 6, 2021 #1 Is it possible to keep the image resolution when uploading? I have tried this but it doesn't work B4X: SMM.Initialize ExtraMediaManager = CreateMap( SMM.REQUEST_BACKGROUND: xui.Color_Transparent, _ SMM.REQUEST_ZOOMIMAGEVIEW: True, _ SMM.REQUEST_FADE_ANIMATION_DURATION: 0, _ SMM.REQUEST_RESIZE_MODE: False) SMM.SetMediaFromFile(pnlImage, FolderImage, NameFile, "image/*", ExtraMediaManager)
Is it possible to keep the image resolution when uploading? I have tried this but it doesn't work B4X: SMM.Initialize ExtraMediaManager = CreateMap( SMM.REQUEST_BACKGROUND: xui.Color_Transparent, _ SMM.REQUEST_ZOOMIMAGEVIEW: True, _ SMM.REQUEST_FADE_ANIMATION_DURATION: 0, _ SMM.REQUEST_RESIZE_MODE: False) SMM.SetMediaFromFile(pnlImage, FolderImage, NameFile, "image/*", ExtraMediaManager)
Solution Erel Dec 12, 2021 Set the MaxImageSize: B4X: SMM.Initialize SMM.MaxImageSize = 5000 It is set to 1000 by default.
Erel B4X founder Staff member Licensed User Longtime User Dec 6, 2021 #2 SMM doesn't resize the image. What are you seeing? Upvote 0
angel_ Well-Known Member Licensed User Longtime User Dec 7, 2021 #3 The image looks pixelated, if the image has a higher resolution it is more noticeable but due to the size I cannot upload it Attachments Project.zip 511.3 KB · Views: 212 Upvote 0
The image looks pixelated, if the image has a higher resolution it is more noticeable but due to the size I cannot upload it
Erel B4X founder Staff member Licensed User Longtime User Dec 7, 2021 #4 I will test it next week. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 12, 2021 #5 Set the MaxImageSize: B4X: SMM.Initialize SMM.MaxImageSize = 5000 It is set to 1000 by default. Upvote 0 Solution
angel_ Well-Known Member Licensed User Longtime User Dec 12, 2021 #6 Erel said: Set the MaxImageSize: B4X: SMM.Initialize SMM.MaxImageSize = 5000 It is set to 1000 by default. Click to expand... Thank you Upvote 0
Erel said: Set the MaxImageSize: B4X: SMM.Initialize SMM.MaxImageSize = 5000 It is set to 1000 by default. Click to expand... Thank you