https://github.com/leoborai/pngme
Command line program that lets you hide secret messages in PNG files
https://github.com/leoborai/pngme
learning png rust tutorial
Last synced: over 1 year ago
JSON representation
Command line program that lets you hide secret messages in PNG files
- Host: GitHub
- URL: https://github.com/leoborai/pngme
- Owner: LeoBorai
- Created: 2020-10-24T23:37:07.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-02T12:02:29.000Z (almost 3 years ago)
- Last Synced: 2025-04-14T07:09:11.713Z (over 1 year ago)
- Topics: learning, png, rust, tutorial
- Language: Rust
- Homepage: https://picklenerd.github.io/pngme_book/
- Size: 258 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pngme
Command line program that lets you hide secret messages in PNG files
## Usage
Clone `pngme` to your machine using git
```bash
git clone https://github.com/EstebanBorai/pngme.git
```
The `cd` into the `pngme` directory and run `cargo install`
```bash
cd pngme/ && cargo install
```
Then you are ready to use it by just calling `pngme`,
refer to [Commands](#commands) section for extra details on
available commands.
## Commands
### Encode a secret into a file
```bash
pngme encode
```
Example:
```bash
pngme encode ./myfile.png sEcr "Hello, this is a PNG file secret"
```
### Decode a secret from a file
```bash
pngme decode
```
Example:
```bash
pngme decode ./myfile.png sEcr
```
### Remove a secret from a file
```bash
pngme remove
```
Example:
```bash
pngme remove ./myfile.png sEcr
```
### Print chunks
```bash
pngme print
```
Example:
```bash
pngme print ./myfile.png
```