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
75
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
64
Development on Kotlin/Native and Swift
aydarin
1
85
AppCode under the hood
aydarin
1
220
Bridging the gap between Kotlin and Swift
aydarin
0
110
A look into AB testing
aydarin
0
70
Exploring MVVM-C
aydarin
0
140
Coordinate your app
aydarin
1
71
Localization.pdf
aydarin
0
35
MVVM vs MVP
aydarin
1
240
Other Decks in Programming
See All in Programming
Rails 1.0 のコードで学ぶ find_by* と method_missing の仕組み / Learn how find_by_* and method_missing work in Rails 1.0 code
maimux2x
1
260
Datadog Workflow Automation で圧倒的価値提供
showwin
1
310
Django NinjaによるAPI開発の効率化とリプレースの実践
kashewnuts
1
290
SwiftUI移行のためのインプレッショントラッキング基盤の構築
kokihirokawa
0
170
Jakarta EE meets AI
ivargrimstad
0
680
バッチを作らなきゃとなったときに考えること
irof
2
550
やっと腹落ち「スプリント毎に動くモノをリリースする」〜ゼロから始めるメガバンクグループのアジャイル実践〜
sasakendayo
0
140
iOSでQRコード生成奮闘記
ktcryomm
2
130
Learning Kotlin with detekt
inouehi
1
200
ソフトウェアエンジニアの成長
masuda220
PRO
12
2.2k
DevNexus - Create AI Infused Java Apps with LangChain4j
kdubois
0
130
Visual StudioのGitHub Copilotでいろいろやってみる
tomokusaba
1
220
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
660
Building Your Own Lightsaber
phodgson
104
6.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.2k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Producing Creativity
orderedlist
PRO
344
40k
Unsuck your backbone
ammeep
669
57k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Docker and Python
trallard
44
3.3k
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