iconthin

command
v0.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

iconthin thins the strokes of a monochrome icon without altering its geometry: it thresholds the alpha channel, erodes the resulting mask by a radius (repeated 3x3 min-filter, an approximation of a disk), then downsamples with area averaging for smooth antialiased edges. Output is square, -size pixels wide, preserving the input colour.

Usage: iconthin -size 44 -erode 10 input.png output.png

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL