Changes

Jump to: navigation, search

Mobile/Fennec/Android/png optimisation

160 bytes added, 15:37, 3 March 2017
Added webp Android Studio link
* Consider converting to webp - this can result in significant size savings
** The information below is obsolete - you can just use Android 4.3 or newer: https://developer.android.com/studio/write/convert-webp.html** <s>'''Do not use webp for images containing transparency''': those are only supported on Android >= 4.3 (support was introduced with 4.2.1, but 4.2.0 isn't supported [https://developer.android.com/guide/appendix/media-formats.html]).</s>** <s>'''Verify each image manually''', webp conversion can result in a loss of fidelity - edge artifacts are a particular issue with webp, and seem to affect computer generated images the most.</s>
find . -name foxfinder.png -exec bash -c 'cwebp {} —c 90 -o ${x%.png}.webp' \;
* <s>If webp conversion looks satisfactory, delete the png files, and clobber - both gradle and mach builds will trip up otherwise. Feel free to adjust the quality factor (-q 90) above until the images look acceptable.</s>
== Example numbers ==
46
edits

Navigation menu