Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/setanarut/fif
- Owner: setanarut
- License: other
- Created: 2020-11-13T23:59:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-20T19:00:10.000Z (11 months ago)
- Last Synced: 2024-09-27T16:16:36.624Z (about 2 months ago)
- Topics: codec, data-embedding, embedding
- Language: Python
- Homepage:
- Size: 609 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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 pathoptional 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
```