shithub: subpixelize

Download patch

ref: 048812d8e57dd440e13737c9c603cedc0228891b
parent: c575d9489e3157ff1fe5e85f0c91f920c0e75ab6
author: sirjofri <sirjofri@sirjofri.de>
date: Tue Mar 3 16:43:44 EST 2026

documentation

--- a/README
+++ b/README
@@ -5,7 +5,7 @@
   subpixelize < input.bit > output.bit
 
 
-This program converts a grayscale image to a colored image that makes use of subpixels to add fine details.
+Subpixelize 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.
 
@@ -24,9 +24,14 @@
 will be converted to rgb(0, 128, 0).
 
 
+Unsubpixelize does the inverse of subpixelize.
+
+
 BUGS
 
 The groups of 3x3 pixels need to be aligned to the grid.
+
+Input and output images must/will have at least 3 channels (RGB24). The fourth channel will be ignored.
 
 Subpixelize supports only horizontal subpixels (RGB in a row).
 
--