Skip to content
/ fif Public

A command line tool for embedding any file into PNG, GIF, WAV file formats and decoding back.

License

Notifications You must be signed in to change notification settings

setanarut/fif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FIF (File in File)

FIF is a command line tool for embedding any file into GIF, PNG and WAV files and decoding back.

Installation

pip3 install fif

Usage

dogmalar.mp3 file as grayscale GIF animation

fif --encode gif dogmalar.mp3
# saved file -> dogmalar.gif

dogmalar

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

About

A command line tool for embedding any file into PNG, GIF, WAV file formats and decoding back.

Topics

Resources

License

Stars

Watchers

Forks

Languages