This tool extracts every frame of an animated Facebook sticker. (works as of July, 2019)
MIT License
This tool extracts every frame of an animated Facebook sticker.
sticker.png
The format of this sticker is:
X X X
X X X
X X X
The command you want to use for this sticker is ./extract.py 3 3 0 sticker.png
Another example format:
X X X X X
X X X X X
Then you should use: ./extract.py 5 2 0 sticker.png
X X X X
X X X X
X X X X
X X X
For incomplete rows, we specify the remaining tiles on the last row. ./extract.py 4 4 3 sticker.png
Use ./extract.py --help
for advanced options like resizing and adjusting the offset.
$ pip install Pillow; python ./extract.py
. Done!