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
62
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
50
Development on Kotlin/Native and Swift
aydarin
1
79
AppCode under the hood
aydarin
1
130
Bridging the gap between Kotlin and Swift
aydarin
0
82
A look into AB testing
aydarin
0
65
Exploring MVVM-C
aydarin
0
96
Coordinate your app
aydarin
1
53
Localization.pdf
aydarin
0
29
MVVM vs MVP
aydarin
1
200
Other Decks in Programming
See All in Programming
データアナリストが行うDatabricksを活用したETLの自動化事例
shinoa
0
250
1인 개발자로 행복하게 살기 - GDG 송도 헬로월드 2024
benjaminkim
1
5.6k
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
160
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
110
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
490
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
180
Code Reviews
bkuhlmann
4
880
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
430
[SF Ruby, March 2024] Rails on Wasm
palkan
0
370
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
3
690
App Router への移行は「改善」となり得るのか?/ Can migration to App Router be an improvement
takefumiyoshii
8
2.1k
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
22
15k
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
273
13k
How STYLIGHT went responsive
nonsquared
92
4.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
154
14k
Navigating Team Friction
lara
177
13k
Faster Mobile Websites
deanohume
297
30k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
16k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Build your cross-platform service in a week with App Engine
jlugia
225
17k
BBQ
matthewcrist
80
8.7k
The Mythical Team-Month
searls
215
42k
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