aboutsummaryrefslogtreecommitdiff
path: root/third_party/stb/README.md
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-10-20 11:44:30 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-10-20 11:44:30 +0200
commit9b9005101e6170a226acb265428aac429be6edbf (patch)
treef89c76f4a5c2a00a72abe9b92468ac9f15083b94 /third_party/stb/README.md
downloadfacedet-9b9005101e6170a226acb265428aac429be6edbf.tar.gz
facedet-9b9005101e6170a226acb265428aac429be6edbf.zip
Init
Diffstat (limited to 'third_party/stb/README.md')
-rw-r--r--third_party/stb/README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/stb/README.md b/third_party/stb/README.md
new file mode 100644
index 0000000..df9b7ce
--- /dev/null
+++ b/third_party/stb/README.md
@@ -0,0 +1,19 @@
+# stb_image
+
+JPEG and PNG decoding for the command-line program. The inference library does
+not link this code. Only JPEG and PNG are enabled, with a maximum dimension of
+4096 pixels and RGB8 output.
+
+Upstream: https://github.com/nothings/stb
+
+Revision: `2c980bb59875b0d32144a71867fbdebb2f77cd20`
+
+Upstream `stb_image.h` SHA-256:
+`594c2fe35d49488b4382dbfaec8f98366defca819d916ac95becf3e75f4200b3`
+
+The bundled header omits comments. In `stbi__resample_row_h_2`, the final even
+output uses `(3 * input[w-1] + input[w-2] + 2) / 4`, consistent with the preceding
+2:1 horizontal chroma interpolation. The image tests compare these right-edge
+pixels with Pillow's JPEG decoder.
+
+The MIT/public-domain license is in `LICENSE`.