Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/setanarut/fif

A command line tool for embedding any file into PNG, GIF, WAV file formats and decoding back.
https://github.com/setanarut/fif

codec data-embedding embedding

Last synced: 21 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# FIF (File in File)

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

## Installation

```shell
pip3 install fif
```

## Usage

dogmalar.mp3 file as grayscale GIF animation

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

Extract `dogmalar.mp3` from GIF container

```shell
fif dogmalar.gif
# saved file -> dogmalar.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
```