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
45
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
10k
iOSDC 2017
chuganzy
5
3.8k
Other Decks in Technology
See All in Technology
1等無人航空機操縦士一発試験 合格までの道のり ドローンミートアップ@大阪 2024/12/18
excdinc
0
170
10個のフィルタをAXI4-Streamでつなげてみた
marsee101
0
170
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
480
Storage Browser for Amazon S3
miu_crescent
1
240
大幅アップデートされたRagas v0.2をキャッチアップ
os1ma
2
540
5分でわかるDuckDB
chanyou0311
10
3.2k
.NET 9 のパフォーマンス改善
nenonaninu
0
1k
スタートアップで取り組んでいるAzureとMicrosoft 365のセキュリティ対策/How to Improve Azure and Microsoft 365 Security at Startup
yuj1osm
0
230
20241220_S3 tablesの使い方を検証してみた
handy
4
630
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
2
270
バクラクのドキュメント解析技術と実データにおける課題 / layerx-ccc-winter-2024
shimacos
2
1.1k
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Bash Introduction
62gerente
608
210k
Unsuck your backbone
ammeep
669
57k
Making Projects Easy
brettharned
116
5.9k
Into the Great Unknown - MozCon
thekraken
33
1.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Writing Fast Ruby
sferik
628
61k
Site-Speed That Sticks
csswizardry
2
190
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
Practical Orchestrator
shlominoach
186
10k
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Ͱ؆୯ʹ͑ΔΑ͏ʹͨ͠🙋 • ͬͯΈ͚ͨͲσίʔυ݁ߏ͍😂 • ಛڐؔʹؾΛ͚ͭΔඞཁ͕͋Δ🙄 • ࣮ઓೖʹ·ͩ৭ʑͱૣ͗͢Δ͔💧
·ͱΊ