To reduce the size of our apps, you can compress all your image with tinypng.
Tuto to explain how to use it.
I modifie the batch code to apply the compression on all subfolder.
I won 20% of size.
rem you can get APIKEY from https://tinypng.com/
set APIKEY=
rem if set prefix or (and) suffix, not overwrite original file.
set PREFIX=
set SUFFIX=
For /R %%p in ( *.png,*.jpg ) do (
for /f “tokens=1,2 usebackq” %%j in ( curl -k -i --user api:%APIKEY% --data-binary @%%p [https://api.tinypng.com/shrink](https://api.tinypng.com/shrink) ) do (
if “%%j”==“Location:” curl -k %%k > %PREFIX%%%p%SUFFIX%
)
)