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 for decreasing app size
Search
Aydar
September 07, 2017
Programming
0
73
Image optimization for decreasing app size
Presentation for The Munich iOS Developer Meetup lightning talk hosted at Freeletics
Aydar
September 07, 2017
Tweet
Share
More Decks by Aydar
See All by Aydar
The Realities of A/B Testing
aydarin
0
59
Development on Kotlin/Native and Swift
aydarin
1
80
AppCode under the hood
aydarin
1
180
Bridging the gap between Kotlin and Swift
aydarin
0
96
A look into AB testing
aydarin
0
65
Exploring MVVM-C
aydarin
0
120
Coordinate your app
aydarin
1
63
Localization.pdf
aydarin
0
34
MVVM vs MVP
aydarin
1
220
Other Decks in Programming
See All in Programming
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
900
CSC509 Lecture 12
javiergs
PRO
0
160
Amazon Qを使ってIaCを触ろう!
maruto
0
420
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
Click-free releases & the making of a CLI app
oheyadam
2
120
Micro Frontends Unmasked Opportunities, Challenges, Alternatives
manfredsteyer
PRO
0
110
Macとオーディオ再生 2024/11/02
yusukeito
0
380
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
1k
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
130
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.3k
Quine, Polyglot, 良いコード
qnighy
4
650
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
200
Featured
See All Featured
Side Projects
sachag
452
42k
Building Applications with DynamoDB
mza
90
6.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
The World Runs on Bad Software
bkeepers
PRO
65
11k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
What's in a price? How to price your products and services
michaelherold
243
12k
Making Projects Easy
brettharned
115
5.9k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Transcript
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