FIF is a command line tool for embedding any file into GIF, PNG and WAV files and decoding back.
pip3 install fif
dogmalar.mp3 file as grayscale GIF animation
fif --encode gif dogmalar.mp3
# saved file -> dogmalar.gif
Extract dogmalar.mp3
from GIF container
fif dogmalar.gif
# saved file -> dogmalar.mp3
positional arguments:
input Input file path
optional arguments:
-h, --help show this help message and exit
-e {png,wav,gif}, --encode {png,wav,gif}
encode file
-m {1,L,P,RGB,RGBA}, --mode {1,L,P,RGB,RGBA}
Image mode
-v, --verbose Increase output verbosity