example/convert-to-nia: allow 16-bit PNG output

This commit is contained in:
Nigel Tao committed 2025-06-23 09:51:31 +10:00
1 parent bb25727729
commit 67e9078eab
8 files changed
+231 -38

No files matched your search

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 767 B

+3
View File
@@ -38,6 +38,9 @@ The non-ascii directory holds trivial UTF-8 (but not ASCII) text files.
---
`36.png` and `49.png` are simple, artificially generated images. The generation
script is `gen-36-49.go` from https://github.com/nigeltao/etc2
`DCI-P3-D65.icc` comes from
[color.org](https://www.color.org/chardata/rgb/DCIP3.xalter).
`DCI-P3-D65.icc.zlib` is a zlib-compresion of that, created by Go's standard
+2
View File
@@ -1,4 +1,6 @@
# Generated by script/print-nia-checksums.sh
OK. 9720c028 test/data/36.png
OK. f2a0a3f6 test/data/49.png
OK. d3bb0beb test/data/DCI-P3-D65.icc
OK. 646e081a test/data/animated-red-blue.000000.nie
OK. 181c6916 test/data/animated-red-blue.000001.nie