L liulifeng77 Active Member Licensed User Longtime User Apr 23, 2018 #1 hi, Is it possible to change the quality of jpg before upload? thanks!
alwaysbusy Expert Licensed User Longtime User Apr 23, 2018 #2 No, only for png files you can use: B4X: Dim folders As List ' NEW folders.Initialize folders.Add(File.DirApp & "/www/" & ABMShared.AppName & "/images") ABM.ActivatePNGOptimize("DONATORKEY", folders, False , 9, False, True ) I haven't found a good library to do the same in java yet for jpg. Upvote 0
No, only for png files you can use: B4X: Dim folders As List ' NEW folders.Initialize folders.Add(File.DirApp & "/www/" & ABMShared.AppName & "/images") ABM.ActivatePNGOptimize("DONATORKEY", folders, False , 9, False, True ) I haven't found a good library to do the same in java yet for jpg.
L liulifeng77 Active Member Licensed User Longtime User Apr 23, 2018 #3 thanks for your reply so quickly! users often use mobile phone to take picture and upload. so if we can change the quality of jpg, the users will feel more convenient. Upvote 0
thanks for your reply so quickly! users often use mobile phone to take picture and upload. so if we can change the quality of jpg, the users will feel more convenient.
L liulifeng77 Active Member Licensed User Longtime User Apr 26, 2018 #4 many developers use canvas to change the quality of image. abm can do it? Upvote 0