shithub: subpixelize

ref: 27ab378bba094b64ecd9e681ef30637cfbf3d9e8
dir: /README/

View raw version
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 expects an image three times the size of the target image. Each group of 3x3 pixels will be converted to a single pixel that is composed out of the three subpixels.

It is possible to scale the value by using grayscale values. The subpixel will be filled with the average value of its column. For example, both

000 128 000
000 128 000
000 128 000

and

000 255 000
000 128 000
000 000 000

will be converted to rgb(0, 128, 0).


BUGS

The groups of 3x3 pixels need to be aligned to the grid.

Subpixelize supports only horizontal subpixels (RGB in a row).

Some people don't like subpixels.