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
Search
Jared Potter
March 06, 2019
Programming
0
25
Image Optimization
Image Optimization
Jared Potter
March 06, 2019
Tweet
Share
More Decks by Jared Potter
See All by Jared Potter
Firebase - The Best (free-ish) Platform for Personal Projects, Prototypes, and Enterprise Apps
jaredpotter
0
64
An Actually Good Intro Vue Presentation
jaredpotter
0
44
Nuxt.js
jaredpotter
0
62
Other Decks in Programming
See All in Programming
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
510
「抽象に依存せよ」が分からなかった新卒1年目の私が Goのインターフェースと和解するまで
kurogenki
0
110
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
250
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.3k
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
2
280
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
450
CSC307 Lecture 15
javiergs
PRO
0
240
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
130
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
570
AWS Infrastructure as Code の新機能 2025 総まとめ 〜SA 4人による怒涛のデモ祭り〜
konokenj
10
3.4k
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
140
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
200
Featured
See All Featured
Side Projects
sachag
455
43k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
250
Evolving SEO for Evolving Search Engines
ryanjones
0
150
Information Architects: The Missing Link in Design Systems
soysaucechin
0
830
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.1k
Six Lessons from altMBA
skipperchong
29
4.2k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
210
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
30 Presentation Tips
portentint
PRO
1
250
Amusing Abliteration
ianozsvald
0
130
Done Done
chrislema
186
16k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
340
Transcript
Image Optimization Jared Potter - Software Engineer
Slides Available (also available at end) Slides: https://goo.gl/Nz6Dp5
Who Am I - Jared Potter
Talk Expectations What this talk isn’t • Nitty gritties on
image optimization What this talk is • Really simple tools to optimize images / gifs
• Un-optimized images litter the web. • Increased load times
(especially on slower mobile connections). • Increase data cost (again, to mobile). • Note: initial load only. Images will be cached. The Problem
Click me Example 1 - Photo Portfolio
Example 1 - Photo Portfolio Cont
Example 2 - Dev Portfolios
Example 2 - Dev Portfolios Cont
Example 3 - Coding Bootcamp - GIF
Example 3 - Coding Bootcamp - GIF
• Native tools (Mac Preview, Windows 10 Photo App) •
Online tools (Bulk Image Resize) • 3rd party apps (JPEGmini) ◦ Server, JS uploader, SDKs • Convert .GIFs to .MP4s • Convert .PNGs to .JPEGs The Solution
• Mac Preview - DEMO Native Solutions
A
B
• Single background image jpeg ◦ Reduced from 11.1 MB
to 3.5 MB (68% reduction) Native Solutions - Mac Preview
• PNGs to JPEGs ◦ 41.4 MBs to 2.4 MBs
(94% reduction) Native Solutions - Mac Preview
• Windows 10 Photo App Native Solutions
Web Solutions - Bulk Image Resizer
3rd Party Solutions - JPEGmini (paid)
A
B
GIF to MP4 FFMPEG Reduced GIF from 49,175,027 bytes to
812,646 bytes ~98% Reduction! Instant loading gifs. Already done by imgur, giphy, gfycat, etc
Other Photo Optimization Tips • Lazy Load your images ◦
https://github.com/juanlizarazo /image-lazy-load-demos • Upcoming WebP (picture) and WebM (video) ◦ Both open source, royalty free (compared to h.264/h.265) ◦ Hybrid support webp/webm for chrome, optimized jpeg / gifs (mp4) for other browsers
Thank You!
Resources • https://medium.com/@jaredpotter1/optimizi ng-images-for-the-web-part-1-aa88c1c6d80e • https://github.com/juanlizarazo/image-lazy-l oad-demos • https://unix.stackexchange.com/questions/4 0638/how-to-do-i-convert-an-animated-gif-t
o-an-mp4-or-mv4-on-the-command-line • https://rigor.com/blog/2015/12/optimizing-ani mated-gifs-with-html5-video
Questions? Slides: https://goo.gl/Nz6Dp5 Contact + Feedback • Email:
[email protected]
•
https://twitter.com/jaredpotter