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
Click to show internal directories.
Click to hide internal directories.