Skip to content
andreweathan edited this page Jan 3, 2023 · 4 revisions

Introduction

Welcome to the pngsmasher wiki!
pngsmasher is a tool written by andreweathan in C# that applies stylised corruption to images, which can be controlled with many command-line parameters!

This wiki will explain what each of the parameters do, along with visual examples for the parameters that need it.

How parameters are described

You'll see something like this often on the wiki:

int -mul (default 0, 0-infinity)

percent -crunch (default 100)

bool -/+ntsc (default false)

int, percent, and bool are "types" i made up for convenience, that describe what the parameters should be set to.

Quick type reference

string

Plaintext (input.png)

int

Integer (whole number, like 2, 7, -5, and so on)

float

Real number (Can be whole, can be not: 7, 5, or 3.14156)

percent

Integer percentage, from 0 to 100

bool

On/off switch.
The wiki shows something like -/+bg, but remember that to turn a bool parameter on, write +bg, and to turn it off, write -bg. The difference between + and - only applies to bools, using + is invalid for other types!

Disclaimer

To be honest, i copy-pasted this wiki from my pngf***er wiki to save time, so some of the examples here may not actually be the same as what pngf***er would output, but the purpose of the examples is to visually show what each parameter does. I'll check and update the examples whenever i can!