Flipbook is a special-language compiler for describing flipbooks and finally converting this flipbook description into a printable PDF or GIF.
Use the package manager pip to install Flipbook.
pip install -e .
flipc /path/to/flipfile -o /path/to/output_file
#Example: flipc human_life_span.flip -o human_life_span.pdf
Currently, the only supported extensions are:
- GIF
Every line of the flipfile is of form XX YY /path/to/abc.jpg, where XX is the starting page index and YY is the ending page index of flipbook. Example of a flipfile is:
01 05 child.jpg // Display a child's picture from pages 1 to 5
06 10 adolescent.jpg
11 15 young-adulthood.jpg
16 20 adulthood.jpg
21 25 old-age.jpg
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.