Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/charlesrocket/pixelmosh
PNG corrupter
https://github.com/charlesrocket/pixelmosh
glitch gtk
Last synced: 3 months ago
JSON representation
PNG corrupter
- Host: GitHub
- URL: https://github.com/charlesrocket/pixelmosh
- Owner: charlesrocket
- License: mit
- Created: 2022-05-03T19:57:24.000Z (almost 3 years ago)
- Default Branch: trunk
- Last Pushed: 2024-08-04T00:20:54.000Z (6 months ago)
- Last Synced: 2024-10-11T01:47:47.509Z (4 months ago)
- Topics: glitch, gtk
- Language: Rust
- Homepage:
- Size: 2.3 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# `pixelmosh`
[![Crates.io](https://img.shields.io/crates/v/pixelmosh)](https://crates.io/crates/pixelmosh)
[![Tests](https://github.com/charlesrocket/pixelmosh/actions/workflows/ci.yml/badge.svg?branch=trunk)](https://github.com/charlesrocket/pixelmosh/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/charlesrocket/pixelmosh/branch/trunk/graph/badge.svg)](https://codecov.io/gh/charlesrocket/pixelmosh)### Compilation
#### CLI
```
cargo install pixelmosh
```#### GUI (GTK)
```
cargo install pixelmosh --features gui
```### Basic usage
```
pixelmosh foo.png
```### Options
```
┌─────────────────────────────────────┐
│ █▀▄ █ ▀▄▀ ██▀ █ █▄ ▄█ ▄▀▄ ▄▀▀ █▄█ │
│ █▀ █ █ █ █▄▄ █▄▄ █ ▀ █ ▀▄▀ ▄██ █ █ │
└─────────────────────────────────────┘
PNG corrupterUsage: pixelmosh [OPTIONS]
Arguments:
File pathOptions:
-n, --min-rate Minimum chunks to process [default: 1]
-m, --max-rate Maximum chunks to process [default: 7]
-p, --pixelation Pixelation rate [default: 10]
-l, --line-shift Line shift rate [default: 0.3]
-r, --reverse Reverse rate [default: 0.3]
-f, --flip Flip rate [default: 0.3]
-c, --channel-swap Channel swap rate [default: 0.3]
-t, --channel-shift Channel shift rate [default: 0.3]
-s, --seed Custom seed
-b, --batch Number of files to output
-o, --output Output filename
-h, --help Print help (see more with '--help')
-V, --version Print version
```## `libmosh`
Follow the [example](https://docs.rs/pixelmosh/latest/libmosh/struct.MoshCore.html#example) from [docs.rs](https://docs.rs/pixelmosh/latest/libmosh/).