File tree Expand file tree Collapse file tree 1 file changed +30
-4
lines changed
Expand file tree Collapse file tree 1 file changed +30
-4
lines changed Original file line number Diff line number Diff line change 1- Animation Encoder
2- ============
3-
1+ # Animation Encoder
2+ ## Overview
43anim_encoder creates small JavaScript+HTML animations from a series on PNG images.
4+ This is a modification of that original post, that adds some actual documentation
5+ cleans up the code base a bit and attempts to make it slightly more reliable. So that
6+ if anyone actually wants to use this is a project they can get up and running really
7+ quickly.
8+
9+
10+ Original details are at http://www.sublimetext.com/~jps/animated_gifs_the_hard_way.html
11+
12+ ## Getting Started (Compiling the Example)
13+ {{{
14+ virtualenv --distribute venv
15+ source venv/bin/activate
16+ sudo apt-get install pngcrush python-opencv python-numpy python-scipy
17+ python anim_encoder.py example
18+ firefox example.html
19+ }}}
20+
21+
22+ ## Capturing your own images
23+ Images will be saved to capture, you simply need to run capture.py and then go about your task.
24+ Note you can just delete frames you don't want as you initially set up, should save you some
25+ time. Then to run the program just go
26+
27+ {{{
28+ python capture.py
29+ }}}
530
6- Details are at http://www.sublimetext.com/~jps/animated_gifs_the_hard_way.html
31+ If you need to change any settings it should be pretty simple just jump over to config.py
32+ and edit the configuration options.
You can’t perform that action at this time.
0 commit comments