Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Image Optimization
Search
Jared Potter
March 06, 2019
Programming
39
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Image Optimization
Image Optimization
Jared Potter
March 06, 2019
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
69
An Actually Good Intro Vue Presentation
jaredpotter
0
50
Nuxt.js
jaredpotter
0
74
Other Decks in Programming
See All in Programming
AWSに止められる覚悟してますか?
morizo_1984
0
150
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2.3k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
240
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
270
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
120
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
17
15k
JRuby: Past, Present, and Future
headius
0
190
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
350
Jetpack Compose メカニズム
skydoves
0
470
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
250
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
130
Security issues being discussed on Web Platforms
petamoriken
0
1.2k
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
How GitHub (no longer) Works
holman
316
150k
Leo the Paperboy
mayatellez
10
2.3k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
880
How STYLIGHT went responsive
nonsquared
100
6.3k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
300
Art, The Web, and Tiny UX
lynnandtonic
304
22k
BBQ
matthewcrist
89
10k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
480
Speed Design
sergeychernyshev
33
2.1k
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