From a58550e74f0e5a784010014c4f4f024deec0546c Mon Sep 17 00:00:00 2001 From: Nexoniarz Date: Tue, 12 May 2026 01:13:38 +0000 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6cf21fa..8fef1e2 100644 --- a/README.md +++ b/README.md @@ -28,5 +28,17 @@ The project is designed to be cross-compiled using the **Zig** toolchain for max ```bash # Run the build script to generate static and shared libraries -./build.sh | UNIX +./build.sh | UNIX (macOS / Linux) ./build.bat | WINDOWS +``` + +### Technical Specification +PIKTURE uses a custom byte-stream protocol: +- 0x00 - 0x3F: INDEX - Fetch pixel from a 64-color LRU cache. +- 0x40 - 0x7F: DIFF - Apply small RGB deltas. +- 0x80 - 0xBF: LUMA - Apply green-relative color deltas. +- 0xC0 - 0xFD: RUN - Repeat previous pixel. +- 0xFE: RGB - Full 24-bit color change. +- 0xFF: RGBA - Full 32-bit color change. + +### MIT LICENSE