branches: front
Clone
clone: git://shithub.us/sirjofri/subpixelize gits://shithub.us/sirjofri/subpixelize
push: hjgit://shithub.us/sirjofri/subpixelize
Last commit
fd5885e4
– sirjofri <sirjofri@sirjofri.de>
authored
on 2026/02/15 08:04
s/Readme/README
About
subpixelize image filter
USAGE
subpixelize < input.bit > output.bit
This program converts a grayscale image to a colored image that makes use of subpixels to add fine details.
The program defines three levels of gray:
- Black: < 64
- Low: ≥ 64 and < 128
- High: ≥ 128 and < 192
- White: ≥ 192
Depending on the surrounding two pixels (left and right), Low and High values will be replaced by colored pixels.
BUGS
Right now, the input image needs to have 3 or 4 channels (alpha is ignored/will be passed through). Single-channel images must be converted before use, e. g. using iconv.
Only images with (mostly) pure black and (mostly) pure white areas are supported.
Subpixelize supports only horizontal subpixels (RGB in a row).
Some people don't like subpixels.
The quality of the results isn't visually perfect and might need manual fixup.