Submit Search
Upload
AndroidでGIFアニメ 2014.08.06 Kyoto.LT
•
1 like
•
1,977 views
S
shotamoriwaki
Follow
2014.08.06 Kyoto.LTの発表資料です。
Read less
Read more
Mobile
Report
Share
Report
Share
1 of 38
Download now
Download to read offline
Recommended
Evaluation question 1
Evaluation question 1
Jazz
Advertisement for everyone - JAWS Aomori #5
Advertisement for everyone - JAWS Aomori #5
Eikichi Gotoh
Coroner's toolkit
Coroner's toolkit
Rodolfo Fonseca
Vanessa 5
Vanessa 5
vanessarojascastano
Presentation1
Presentation1
Gourab Chanda
Waxing in huntington beach ca
Waxing in huntington beach ca
mainstday
WebRTCについて
WebRTCについて
shotamoriwaki
Hunger in Central Indiana
Hunger in Central Indiana
Timothy Gondola
Recommended
Evaluation question 1
Evaluation question 1
Jazz
Advertisement for everyone - JAWS Aomori #5
Advertisement for everyone - JAWS Aomori #5
Eikichi Gotoh
Coroner's toolkit
Coroner's toolkit
Rodolfo Fonseca
Vanessa 5
Vanessa 5
vanessarojascastano
Presentation1
Presentation1
Gourab Chanda
Waxing in huntington beach ca
Waxing in huntington beach ca
mainstday
WebRTCについて
WebRTCについて
shotamoriwaki
Hunger in Central Indiana
Hunger in Central Indiana
Timothy Gondola
15 Ways to Animate Your Content with GIFs
15 Ways to Animate Your Content with GIFs
Daniel Foster
How to convert video clips to gif
How to convert video clips to gif
Bong Bernardo
The basics of creating a gif animation
The basics of creating a gif animation
Lilia Mironova
Liukuväritissejä ja 3D-tanssityttöjä – digianimaation mahdollisuudet
Liukuväritissejä ja 3D-tanssityttöjä – digianimaation mahdollisuudet
Kehittyvien Conien Suomi Ry
Animated GIFs
Animated GIFs
Sangeeta Raghu-Punnadi
Gitflow 깃플로우 공유
Gitflow 깃플로우 공유
joonjhokil
Animated GIFs and Beyond: Motion Design for Impact and Performance
Animated GIFs and Beyond: Motion Design for Impact and Performance
FITC
Mobile Application Development-Components and Layouts
Mobile Application Development-Components and Layouts
ChandrakantDivate1
Mobile Application Development-Android and It’s Tools
Mobile Application Development-Android and It’s Tools
ChandrakantDivate1
Thane 💋 Call Girls 7738631006 💋 Call Girls in Thane Escort service book now. ...
Thane 💋 Call Girls 7738631006 💋 Call Girls in Thane Escort service book now. ...
Pooja Nehwal
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Cara Menggugurkan Kandungan 087776558899
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
nishacall1
Leading Mobile App Development Companies in India (2).pdf
Leading Mobile App Development Companies in India (2).pdf
CWS Technology
Android Application Components with Implementation & Examples
Android Application Components with Implementation & Examples
ChandrakantDivate1
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
nishacall1
More Related Content
Similar to AndroidでGIFアニメ 2014.08.06 Kyoto.LT
15 Ways to Animate Your Content with GIFs
15 Ways to Animate Your Content with GIFs
Daniel Foster
How to convert video clips to gif
How to convert video clips to gif
Bong Bernardo
The basics of creating a gif animation
The basics of creating a gif animation
Lilia Mironova
Liukuväritissejä ja 3D-tanssityttöjä – digianimaation mahdollisuudet
Liukuväritissejä ja 3D-tanssityttöjä – digianimaation mahdollisuudet
Kehittyvien Conien Suomi Ry
Animated GIFs
Animated GIFs
Sangeeta Raghu-Punnadi
Gitflow 깃플로우 공유
Gitflow 깃플로우 공유
joonjhokil
Animated GIFs and Beyond: Motion Design for Impact and Performance
Animated GIFs and Beyond: Motion Design for Impact and Performance
FITC
Similar to AndroidでGIFアニメ 2014.08.06 Kyoto.LT
(7)
15 Ways to Animate Your Content with GIFs
15 Ways to Animate Your Content with GIFs
How to convert video clips to gif
How to convert video clips to gif
The basics of creating a gif animation
The basics of creating a gif animation
Liukuväritissejä ja 3D-tanssityttöjä – digianimaation mahdollisuudet
Liukuväritissejä ja 3D-tanssityttöjä – digianimaation mahdollisuudet
Animated GIFs
Animated GIFs
Gitflow 깃플로우 공유
Gitflow 깃플로우 공유
Animated GIFs and Beyond: Motion Design for Impact and Performance
Animated GIFs and Beyond: Motion Design for Impact and Performance
Recently uploaded
Mobile Application Development-Components and Layouts
Mobile Application Development-Components and Layouts
ChandrakantDivate1
Mobile Application Development-Android and It’s Tools
Mobile Application Development-Android and It’s Tools
ChandrakantDivate1
Thane 💋 Call Girls 7738631006 💋 Call Girls in Thane Escort service book now. ...
Thane 💋 Call Girls 7738631006 💋 Call Girls in Thane Escort service book now. ...
Pooja Nehwal
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Cara Menggugurkan Kandungan 087776558899
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
nishacall1
Leading Mobile App Development Companies in India (2).pdf
Leading Mobile App Development Companies in India (2).pdf
CWS Technology
Android Application Components with Implementation & Examples
Android Application Components with Implementation & Examples
ChandrakantDivate1
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
nishacall1
Recently uploaded
(8)
Mobile Application Development-Components and Layouts
Mobile Application Development-Components and Layouts
Mobile Application Development-Android and It’s Tools
Mobile Application Development-Android and It’s Tools
Thane 💋 Call Girls 7738631006 💋 Call Girls in Thane Escort service book now. ...
Thane 💋 Call Girls 7738631006 💋 Call Girls in Thane Escort service book now. ...
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
Obat Penggugur Kandungan Di Apotik Kimia Farma (087776558899)
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 52 (Delhi) Call Girl Service
Leading Mobile App Development Companies in India (2).pdf
Leading Mobile App Development Companies in India (2).pdf
Android Application Components with Implementation & Examples
Android Application Components with Implementation & Examples
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
FULL ENJOY - 9999218229 Call Girls in {Mahipalpur}| Delhi NCR
AndroidでGIFアニメ 2014.08.06 Kyoto.LT
1.
Androidד! GIF،صً ء٦؟٦吳䒭⠓爡!
啾腜խ翯㣕
2.
啾腜խ翯㣕! Shota Moriwaki!
! ء٦؟٦吳䒭⠓爡խ❨鿪ⴓ㹓! ٌغ؎ٕأُ٦ءّٝ✲噟鿇! أو٦زؿؓٝ،فٔؒٝآص،
3.
GIFחאְג What is
GIF?
4.
GIF! Graphics Interchange
Format չآؿպ ،ًٔؕך鸐⥋⠓爡CompuServeָ涪 GIF87aהGIF89aך2珏겲ך鋉呓 GIF،صًכGIF89a 256葿תד LZW،ٕ؞ٔؤيד㖇簭
5.
GIFך圓鸡 GIF Header
GIFךغ٦آّٝ鋉呓װ歗⫷ך؟؎ؤծ⢪欽ׁגְ葿䞔㜠זו! ؿ؋؎ٕⰋ⡤ך䞔㜠 Image Block 歗⫷ر٦ة Graphic Control Extension 鷲麓Ⳣ椚ך剣搀זו歗⫷חꟼׅ➰⸇䞔㜠
6.
Application Extension ٕ٦ف㔐侧זוGIF،صًחꟼׅ➰⸇䞔㜠
Comment Extension ؝ًٝزر٦ة Plain Text Extension ذؗأزر٦ة Trailer ؿ؋؎ٕך穄✪邌ׅر٦ة
7.
GIF87a GIF Header
Image Block Trailer GIF89a GIF Header Graphic Control Extension Image Block Trailer GIF،صً GIF Header Application Extension Graphic Control Extension Image Block Graphic Control Extension Image Block ・・ ・ Graphic Control Extension Image Block Trailer
8.
Androidד! 邌爙ׅחכ How
to show animated gif on android device?
9.
הִ֮׆! 兛鸐ח铣鴥 Try
to decode animated gif like other file
10.
歗⫷ؿ؋؎ٕBitmapؙٓأח㢌䳔ׅ! ! BitmapFactory.decodeByteArray(byte[]data,
int offset, int length) BitmapFactory.decodeFile(String pathName)! BitmapFactory.decodeResource(Resources res, int id) BitmapFactory.decodeStream(InputStream is) ! 㼎韋ؿؓ٦وحزכPNGծJPGծGIF! זח䊩ַ䱿㤺ׁ갫! “A bitmap image. Android supports bitmap files in a three formats: .png (preferred), .jpg (acceptable), .gif (discouraged).’’ http://developer.android.com/guide/topics/resources/drawable-resource.html#Bitmap GIF،صً铣鴥㜥さծ剑ⴱך歗⫷כ邌爙ָׁ! ،صً٦ءָّٝⱄ欰ׁזְ
11.
WebView⢪ֲ Try to
use android.webkit.WebView
12.
♧殢知⽃! ֽו! ؝أزָ넝ְ
13.
Movie⢪ֲ Try to
use android.graphics.Movie
14.
知⽃! ֽו! 輐鸐ַָֹזְ
غָؚ֮
15.
GIFⴓ鍑ׅ Try to
decode animated gif file
16.
ٓ؎ـָ֮ٓٔ
17.
android-gifview! https://code.google.com/p/android-gifview/ GifDecoder.java!
GIF،صً؝و׀הךBitmapחⴓ鍑ؙׅٓأ GifView! ⴓ鍑ׁBitmap鸬竲ד䲽歗ؙׅٓأ! ! 傈劤➂ך倯ָ⡲ٓ؎ـٓٔדծGifDecoder.javaכGoogle+ך! ،فٔⰻד⢪גְ׃ְדׅկ
18.
知⽃! ֽו! ظ؎ؤָⰅGIFָ֮
׳הꅾְ孡ָׅ
19.
GifDecoder.java! ⥜姻ׅ Try
to fix GifDecoder.java
20.
GifDecoder.java 1. GIFؿ؋؎ٕךغ؎شٔر٦ة鍑匿
2. GifHeaderַ歗⫷ך؟؎ؤה歗⫷Ⰻ⡤ך葿䞔㜠《䖤 3. Application Extensionַ،صً٦ءّٝךٕ٦ف㔐侧《䖤 4. Graphic Control Extensionַ؝و歗⫷ך鷲麓Ⳣ椚ך剣搀הծ! ،صً٦ءّׅٝꥷך如ך؝وתדך鹼䒀儗《䖤 5. ImageBlockַ؝و歗⫷ךؾؙإٕ׀הךر٦ة《䖤׃ծ! 䖤ؾؙإٕ䞔㜠הֿתד《䖤׃䞔㜠⯋חBitmap! ⡲䧭 6. 4ה5ך⡲噟؝و侧ⴓֽ粸鵤ׅ
21.
ؾؙإٕ⽃⡘חתדⴓ鍑׃ג 䪔ְװְׅ䕎חⱄ圓眠׃ג
22.
GifDecoder.java 1. GIFؿ؋؎ٕךغ؎شٔر٦ة鍑匿
2. GifHeaderַ歗⫷ך؟؎ؤה歗⫷Ⰻ⡤ך葿䞔㜠《䖤 3. Application Extensionַ،صً٦ءّٝךٕ٦ف㔐侧《䖤 4. Graphic Control Extensionַ؝و歗⫷ך鷲麓Ⳣ椚ך剣搀הծ! ،صً٦ءّׅٝꥷך如ך؝وתדך鹼䒀儗《䖤 5. ImageBlockַ؝و歗⫷ךؾؙإٕ׀הךر٦ة《䖤׃ծ! 䖤ؾؙإٕ䞔㜠הֿתד《䖤׃䞔㜠⯋חBitmap! ⡲䧭 6. 4ה5ך⡲噟؝و侧ⴓֽ粸鵤ׅ
23.
ֿֿ⥜姻ׅלְְשְ
24.
דֹתׇד׃ 穠㽷歗⫷ָ䝤ְךַفؚٗٓيָ䝤ְךַַ׆…
25.
罋ִ倯㢌ִ
26.
GifDecoder.java 1. GIFؿ؋؎ٕךغ؎شٔر٦ة鍑匿
2. GifHeaderַ歗⫷ך؟؎ؤה歗⫷Ⰻ⡤ך葿䞔㜠《䖤 3. Application Extensionַ،صً٦ءّٝךٕ٦ف㔐侧《䖤 4. Graphic Control Extensionַ؝و歗⫷ך鷲麓Ⳣ椚ך剣搀הծ! ،صً٦ءّׅٝꥷך如ך؝وתדך鹼䒀儗《䖤 5. ImageBlockַ؝و歗⫷ךؾؙإٕ׀הךر٦ة《䖤׃ծ! 䖤ؾؙإٕ䞔㜠הֿתד《䖤׃䞔㜠⯋חBitmap! ⡲䧭 6. 4ה5ך⡲噟؝و侧ⴓֽ粸鵤ׅ
27.
銲כBitmapָדֹלְְ
28.
GIF،صًךغ؎شٔر٦ةַ! ؝و侧ⴽךGIF欰䧭ׅ
29.
GIF89a GIF Header
Graphic Control Extension Image Block Trailer GIF،صً GIF Header Application Extension Graphic Control Extension Image Block Graphic Control Extension Image Block Trailer GIF Header Graphic Control Extension Image Block Trailer
30.
֮הכ兛鸐חBitmapח㢌䳔ֽׅ
31.
דֹ
32.
GifImageDecoder.java 1. GIFؿ؋؎ٕךغ؎شٔر٦ة鍑匿
2. GifHeader《䖤 3. Graphic Control Extensionַ؝و歗⫷ך鷲麓Ⳣ椚ך剣搀הծ! ،صً٦ءّׅٝꥷך如ך؝وתדך鹼䒀儗《䖤 4. ImageBlock《䖤׃ծ《䖤׃GifHeaderהGraphic Control Extension! ♧אךغ؎شٔر٦ةחתה 5. 4ךر٦ةַBitmapFactory⢪גBitmap欰䧭ׅ 6. 3ה4ה5ך⡲噟؝و侧ⴓֽ粸鵤ׅ
33.
鸞ְ
34.
˟歗⫷כ؎ً٦آדׅ
35.
铬겗
36.
Android OS 4.1JellyBean։!
♧鿇ךGIFָBitmapח㢌䳔דֹזְ BitmapFactoryⰻ鿇ד⢪גְٓ؎ـٓٔךغؚ…׃ְ ؟؎ؤ㢌刿װ㖇簭ׁGIFؿ؋؎ٕדⱄ植ׅךדծ! ׃ַ׃ؿ؋؎ٕך倯ח㉏겗ָ֮ךַ׃זְ! GIF،صַً欰䧭׃湫׃ؿ؋؎ٕׅץגָ㢌䳔דֹזְֽדכ זֻגծך⚥דׁח♧鿇ך歗⫷ֽח㼎׃ג饯ֿ! ד׀ֻ׀ֻ♧鿇זךד兛鸐ח⢪ֲⴓחכ㣐♱㣗זכ׆…
37.
Android OS 4.4KitKat!
GIFך鷲麓Ⳣ椚ָ僥ׁזְ! BitmapFactoryךغؚ https://code.google.com/p/android/issues/detail?id=62016 GIF،صًכ⹛ַזְ鿇ⴓ鷲麓חֿׅהדؿ؋؎ٕ؟؎ؤ䫇ִ ֿהָקהוזךדծֿך♶Ⱗさכ汤ְ…
38.
铬겗ָדַֺׅג⢪ְ暟חזתׇָծ ♧䘔؟ٝفٕ縧ְגֶֹתׅ! https://github.com/yysk/GifImageDecoderSample
Download now