Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
image_optimization.pdf
Search
Aydar
September 08, 2017
0
44
image_optimization.pdf
Aydar
September 08, 2017
Tweet
Share
More Decks by Aydar
See All by Aydar
The Realities of A/B Testing
aydarin
0
48
Development on Kotlin/Native and Swift
aydarin
1
79
AppCode under the hood
aydarin
1
120
Bridging the gap between Kotlin and Swift
aydarin
0
80
A look into AB testing
aydarin
0
64
Exploring MVVM-C
aydarin
0
93
Coordinate your app
aydarin
1
51
Localization.pdf
aydarin
0
29
MVVM vs MVP
aydarin
1
200
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
24
2.2k
Ruby is Unlike a Banana
tanoku
95
10k
Product Roadmaps are Hard
iamctodd
43
9.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
319
20k
A better future with KSS
kneath
230
16k
Fantastic passwords and where to find them - at NoRuKo
philnash
35
2.4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.8k
Rails Girls Zürich Keynote
gr2m
91
13k
Designing for humans not robots
tammielis
247
25k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
Raft: Consensus for Rubyists
vanstee
130
6.2k
Art, The Web, and Tiny UX
lynnandtonic
288
19k
Transcript
WELCOME
WE ARE FREELETICS since 2013
WE ARE FREELETICS 18.000.000+ > Freeletics Users:
Bodyweight Nutrition Running Gym WE ARE FREELETICS
None
IMAGE OPTIMIZATION FOR DECREASING APP SIZE Aydar Mukhametzyanov (Freeletics)
LET ME TELL THE STORY…
0 27.5 55 82.5 110 Before After THE STORY MB
THE STORY
THE STORY
THE STORY
OPTIMIZATION
OPTIMIZATION by Xcode
OPTIMIZATION Asset size 12.9 MB 197.3 MB 196.3 MB -1
MB by Xcode Bundle size
ImageOptim https://imageoptim.com OPTIMIZATION
Original PNG 1.8 MB Optimized PNG 1.2 MB OPTIMIZATION –
33%
OPTIMIZATION
Original PNG 1.8 MB Lossy optimized PNG 498 KB OPTIMIZATION
– 72%
OPTIMIZATION
Original JPG 1.4 MB Lossy optimized JPG 79 KB OPTIMIZATION
– 94%
OPTIMIZATION /Applications/ImageOptim.app/Contents/MacOS/ImageOptim *.png
PNG to JPG ? CONVERTING
CONVERTING
CONVERTING sips -s format jpeg -s formatOptions 100 “image.png" --out
"image.jpg" SIPS
{ "images" : [ { "idiom" : "universal", "filename" :
"welcome-photo-man.jpg", "scale" : "1x" }, … Content.json CONVERTING
PULL_REQUEST_TEMPLATE.md PROCESSES
0 27.5 55 82.5 110 Before After CONCLUSION MB
CONCLUSION
ImageOptim PULL_REQUEST_TEMPLATE.md CONCLUSION SIPS CONVERTING OPTIMIZATION PROCESSES Xcode +
aydarin
[email protected]
@aydarmukh QUESTIONS THANK YOU