An open API service indexing awesome lists of open source software.

https://github.com/mohammad9760/flipbook_tool

Pack or Unpack Flipbooks/ Spritesheets
https://github.com/mohammad9760/flipbook_tool

flipbook realtime-vfx tools vfx

Last synced: 6 months ago
JSON representation

Pack or Unpack Flipbooks/ Spritesheets

Awesome Lists containing this project

README

          

# Install

```
git clone https://github.com/Mohammad9760/flipbook_tool.git && cd flipbook_tool && pip install -r requirements.txt
```

# Easily Pack Rendered Frames Into A Flipbook

pass the directory containing the frames to pack them:
```
python flipbook_tool.py render_folder
```
![packing](https://github.com/user-attachments/assets/5c6010e9-7aac-4b2d-bc3f-5a51a7ab296b)

# Un-pack Flipbooks/Spritesheets into individual frames

pass an image with it's grid size (columns:rows) to unpack:

```
python flipbook_tool.py Explosion.tga 5:6
```

![unpacking](https://github.com/user-attachments/assets/cd6ed368-a587-4c3b-87bf-a04b3d825f39)