This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:gifconversion [2015/08/14 14:18] 151.217.2.149 [Tasks] formatting |
howto:gifconversion [2015/08/19 15:23] tomoe [Howto Convert GIFs to Animations] |
||
---|---|---|---|
Line 5: | Line 5: | ||
<note important>The space on rad1o is limited. The recommended an1-file size is < 400kb.</note> | <note important>The space on rad1o is limited. The recommended an1-file size is < 400kb.</note> | ||
- | |||
===== Requirements ===== | ===== Requirements ===== | ||
Line 12: | Line 11: | ||
* img2lcd script (download from https://github.com/rad1o/f1rmware/raw/master/tools/img2lcd.pl) | * img2lcd script (download from https://github.com/rad1o/f1rmware/raw/master/tools/img2lcd.pl) | ||
* lcd2ani script (download from https://raw.githubusercontent.com/rad1o/f1rmware/master/tools/lcd2ani.pl) | * lcd2ani script (download from https://raw.githubusercontent.com/rad1o/f1rmware/master/tools/lcd2ani.pl) | ||
- | * Conversion script (download from: https://gist.github.com/anonymous/a7b301ca1b356543695b) | + | * Conversion script (download from: https://gist.github.com/deltaflyer/62050c8f958587ba78ed) |
===== Tasks ===== | ===== Tasks ===== | ||
Line 19: | Line 18: | ||
* Create a new folder called //gifconversion// | * Create a new folder called //gifconversion// | ||
* Put the gif file into the folder //gifconversion// | * Put the gif file into the folder //gifconversion// | ||
- | * Download all scripts (img2lcd.pl / lcd2ani.pl / convert.sh) and place the in the folder //gifconversion// | + | * Download all scripts (img2lcd.pl / lcd2ani.pl / convert.sh) and place them in the folder //gifconversion// |
* Open a terminal and browse into the directory //gifconversion// | * Open a terminal and browse into the directory //gifconversion// | ||
* Start the conversion script by running in the console ''bash < conversion.sh FILE.gif'' | * Start the conversion script by running in the console ''bash < conversion.sh FILE.gif'' | ||
Line 31: | Line 30: | ||
* restart your rad1o | * restart your rad1o | ||
* In the menu select ''play_animation'' and select ''OUT''. The animation should now start up | * In the menu select ''play_animation'' and select ''OUT''. The animation should now start up | ||
- | |||
===== Result ===== | ===== Result ===== | ||
Line 41: | Line 39: | ||
Example Animation stored as base64-encoded file | Example Animation stored as base64-encoded file | ||
- | * Download animation as base64-encoded file from https://pads.ccc.de/wLgNfrpGcs | + | * Download animation as base64-encoded file from https://gist.github.com/deltaflyer/fd4afb6e2eb1dc5b7e22 |
* Paste the content into a file as file ''file.an1.gz.base64'' | * Paste the content into a file as file ''file.an1.gz.base64'' | ||
- | * Decode the content on the Linux command line ''base64 -d file.an1.gz.base64 >> file.an1.gz'' | + | * Decode the content on the Linux command line ''base64 -d file.an1.gz.base64 > file.an1.gz'' |
* Unpack the file ''gunzip file.an1.gz'' | * Unpack the file ''gunzip file.an1.gz'' | ||
* Put the file on your rad1o in the mass storage mode (see above) | * Put the file on your rad1o in the mass storage mode (see above) | ||
Line 50: | Line 48: | ||
More files | More files | ||
- | * Pikachu: https://pads.ccc.de/wLgNfrpGcs | + | * Pikachu: https://gist.github.com/deltaflyer/fd4afb6e2eb1dc5b7e22 |
- | * Nyan-Cat: https://pads.ccc.de/jKyuUT0kPI | + | * Nyan-Cat: https://gist.github.com/deltaflyer/ea4023e219a6221b61b0 |
- | * Dancing Banana: https://pads.ccc.de/BYyQAxYdb4 | + | * Dancing Banana: https://gist.github.com/deltaflyer/c34d8ed01b770a9e0adf |
- | * Pikachu Guitar: https://pads.ccc.de/7CNlE9uhN5 | + | * Pikachu Guitar: https://gist.github.com/deltaflyer/adfa2ec006ab58ab02e5 |
+ | * 20+ .an1 Files: http://www69.zippyshare.com/v/kgyJIDHl/file.html | ||
+ | * DeepDream Animation of the Camp Logo (customizable with your nick): https://github.com/w1kke/rad1o_deepdream_animation |