Upgrade to Pro — share decks privately, control downloads, hide ads and more …

image_optimization.pdf

52d6b8fd288036707ddd50eb6f595cb7?s=47 Aydar
September 08, 2017
5

 image_optimization.pdf

52d6b8fd288036707ddd50eb6f595cb7?s=128

Aydar

September 08, 2017
Tweet

Transcript

  1. WELCOME

  2. WE ARE FREELETICS since 2013

  3. WE ARE FREELETICS 18.000.000+ > Freeletics Users:

  4. Bodyweight Nutrition Running Gym WE ARE FREELETICS

  5. None
  6. IMAGE OPTIMIZATION FOR DECREASING APP SIZE Aydar Mukhametzyanov (Freeletics)

  7. LET ME TELL THE STORY…

  8. 0 27.5 55 82.5 110 Before After THE STORY MB

  9. THE STORY

  10. THE STORY

  11. THE STORY

  12. OPTIMIZATION

  13. OPTIMIZATION by Xcode

  14. OPTIMIZATION Asset size 12.9 MB 197.3 MB 196.3 MB -1

    MB by Xcode Bundle size
  15. ImageOptim https://imageoptim.com OPTIMIZATION

  16. Original PNG 1.8 MB Optimized PNG 1.2 MB OPTIMIZATION –

    33%
  17. OPTIMIZATION

  18. Original PNG 1.8 MB Lossy optimized PNG 498 KB OPTIMIZATION

    – 72%
  19. OPTIMIZATION

  20. Original JPG 1.4 MB Lossy optimized JPG 79 KB OPTIMIZATION

    – 94%
  21. OPTIMIZATION /Applications/ImageOptim.app/Contents/MacOS/ImageOptim *.png

  22. PNG to JPG ? CONVERTING

  23. CONVERTING

  24. CONVERTING sips -s format jpeg -s formatOptions 100 “image.png" --out

    "image.jpg" SIPS
  25. { "images" : [ { "idiom" : "universal", "filename" :

    "welcome-photo-man.jpg", "scale" : "1x" }, … Content.json CONVERTING
  26. PULL_REQUEST_TEMPLATE.md PROCESSES

  27. 0 27.5 55 82.5 110 Before After CONCLUSION MB

  28. CONCLUSION

  29. ImageOptim PULL_REQUEST_TEMPLATE.md CONCLUSION SIPS CONVERTING OPTIMIZATION PROCESSES Xcode +

  30. aydarin aydar.mukh@gmail.com @aydarmukh QUESTIONS THANK YOU