Metadata-Version: 2.1
Name: fif
Version: 1.3.1
Summary: A command line tool for embedding any file into PNG, GIF, WAV file formats and decoding back.
Home-page: https://github.com/hazarek/fif
Author: Hazar
License: UNKNOWN
Platform: UNKNOWN
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3
Description-Content-Type: text/markdown
Requires-Dist: Pillow (>=8.0.0)
Requires-Dist: filetype (>=1.0.7)

# 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

test.mp3 file as grayscale GIF animation

```shell
fif --encode gif test.mp3
# saved file -> test.gif
```
![test_gif](./test.gif)

Extract test.mp3 from GIF container

```shell
fif test.gif
# saved file -> test.mp3
```

```shell
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
  ```


