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
potatotips 27
Search
Takeru Chuganji
September 28, 2016
Technology
0
50
potatotips 27
Takeru Chuganji
September 28, 2016
Tweet
Share
More Decks by Takeru Chuganji
See All by Takeru Chuganji
React Native Matsuri 2021
chuganzy
7
11k
iOSDC 2017
chuganzy
5
3.8k
Other Decks in Technology
See All in Technology
新卒エンジニア研修の試行錯誤と工夫/nikkei-tech-talk-31
nishiuma
0
200
グループポリシー再確認
murachiakira
0
170
大規模アジャイル開発のリアル!コミュニケーション×進捗管理×高品質
findy_eventslides
0
560
caching_sha2_passwordのはなし
boro1234
0
220
Explainable Software Engineering in the Public Sector
avandeursen
0
370
パスキー導入の課題と ベストプラクティス、今後の展望
ritou
7
1.2k
「ラベルにとらわれない」エンジニアでいること/Be an engineer beyond labels
kaonavi
0
150
SaaSプロダクト開発におけるバグの早期検出のためのAcceptance testの取り組み
kworkdev
PRO
0
460
Amazon GuardDuty Malware Protection for Amazon S3を使おう
ryder472
2
110
バクラクでのSystem Risk Records導入による変化と改善の取り組み/Changes and Improvement Initiatives Resulting from the Implementation of System Risk Records
taddy_919
0
220
LINE Notify互換のボットを作った話
kenichirokimura
0
180
ソフトウェアプロジェクトの成功率が上がらない原因-「社会価値を考える」ということ-
ytanaka5569
0
130
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
Agile that works and the tools we love
rasmusluckow
328
21k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The Invisible Side of Design
smashingmag
299
50k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
320
Optimising Largest Contentful Paint
csswizardry
35
3.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.5k
A Modern Web Designer's Workflow
chriscoyier
693
190k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
12
610
Transcript
WebP͏࣌Ε!?! ৽͍͠ը૾ܗࣜ”BPG”Λࢼͯ͠Έͨ
None
Better Portable Graphics • ༰ྔ͕খׂ͍͞ʹߴ࣭ • ՄٯѹॖϞʔυαϙʔτ • ϒϥβ൛ެ͕ࣜαϙʔτʢJSೖΕΔ͚ͩʣ •
ΞχϝʔγϣϯΛαϙʔτ
— Gigazine “JPEGը૾ͷͷϑΝΠϧαΠζͰ ಉ࣭ͷͷΛදࣔͰ͖Δը૾ܗࣜ”
BPG vs PNG / JPEG / WebP http://xooyoozoo.github.io/yolo-octo-bugfixes/
ҹ • ϒϩοΫϊΠζཱ͕ͨͳ͍ʢΒ͔ʹͳΔʣ • αΠζ͕খ͘͞ͳ࣭͕ͬͯམͪʹ͍͘ • …͍͢͝🎉
$ brew install libbpg Τϯίʔμ / σίʔμΛΠϯετʔϧ
$ bpgenc infile.[jpg|png] BPGͷม
$ bpgdec infile.bpg BPG͔Βͷม
iOSͰͷσίʔυ ϥΠϒϥϦ࡞Γ·ͨ͠🚀
https://github.com/chuganzy/HCImage-BPG
HCImage+BPG • macOS / iOSΛαϙʔτ • Carthage / CocoaPodsͰಋೖՄೳ •
Ξχϝʔγϣϯαϙʔτ
HCImage+BPG
WebPͱσίʔυ࣌ؒͷൺֱ💥
None
BPG 1136 × 818 | 13.6KB
WebP 1136 × 818 | 13.3KB
σίʔυ࣌ؒൺֱ • WebP: 0.7226 / BPG: 2.8070͋ • σίʔυ͍😂 •
നঢ়͢ΔͱΤϯίʔυ͍
͍͍ͯΔͱ͜Ζ • ճઢ͕ͱʹ͔͍͘ • ͖Ε͍ͳը૾Λද͍ࣔͨ͠ • σίʔυΛසൟʹ͠ͳͯ͘Α͍
࠾༻ࣄྫ
…ݟ͔ͭΒͳ͔ͬͨ😢 ͬͯΔΞϓϦ͋Δͷ͔ʁ
“Some of the HEVC algorithms may be protected by patents
in some countries.” BPG͕HEVCͷಛڐΛ༻͍ͯ͠ΔՄೳੑ͕͋Γ ར༻͢Δͱ͖৭ʑؾΛ͚ͭͳ͍ͱ͍͚ͳ͍
— LWN.net “ٕज़తʹJPEGΑΓ༏Ε͍ͯΔ͕ JPEGͷΘΓʹͳΔՄೳੑ͍ͩΖ͏”
😩
• BPGؒҧ͍ͳ͘ૉΒ͍͠ϑΥʔϚοτ🚀 • iOSͰ؆୯ʹ͑ΔΑ͏ʹͨ͠🙋 • ͬͯΈ͚ͨͲσίʔυ݁ߏ͍😂 • ಛڐؔʹؾΛ͚ͭΔඞཁ͕͋Δ🙄 • ࣮ઓೖʹ·ͩ৭ʑͱૣ͗͢Δ͔💧
·ͱΊ