Nigel Tao
dd8db5dbb8
std/handsum: add Potato, Gray variants
2026-04-13 00:20:06 +10:00
Nigel Tao
50b62c7704
test/data: rename some *.handsum files
2026-04-12 15:55:39 +10:00
Nigel Tao
a6c89da981
std/handsum: change version bits from 0x00 to 0x40
2026-04-08 21:08:43 +10:00
Nigel Tao
2d049080ac
example/stb-imagedumper: fix demo count comment
2026-04-01 21:58:43 +11:00
Nigel Tao
b9145634fd
cgen: tweak STB "desired_channels == 0" support
2026-03-02 12:45:56 +11:00
Nigel Tao
072595ae7d
example/imageviewer: don't print filename colon
2025-11-11 12:23:37 +11:00
Nigel Tao
67e9078eab
example/convert-to-nia: allow 16-bit PNG output
2025-06-23 09:51:31 +10:00
Nigel Tao
bb25727729
example/convert-to-nia: add -bit-depth-16 flag
2025-06-17 21:31:08 +10:00
Nigel Tao
0c7f1a4a1f
example/stb-imagedumper: add Handsum demo
2025-02-24 22:25:05 +11:00
Nigel Tao
43a6814dfe
std/handsum: add new package
2025-02-24 11:18:24 +11:00
Nigel Tao
b117488279
example/stb-imagedumper: add -natural-size flag
2025-02-11 15:53:36 +11:00
Nigel Tao
7bd37b9bc1
stb-imagedumper: add -n and remove -r flag
2024-10-27 15:47:41 +10:30
Nigel Tao
b76af12139
convert-to-nia: fix use of errno after read
2024-09-20 08:58:28 +09:30
Nigel Tao
13617c4907
convert-to-nia: add -output-uncompressed-png flag
2024-09-19 17:17:30 +09:30
Nigel Tao
466ba48f57
convert-to-nia: add DECODE_ONLY_JPEG macro
2024-09-19 14:51:42 +09:30
Nigel Tao
c5549dadd1
stb-imagedumper: add -resize=N comment
2024-09-18 18:17:33 +09:30
Nigel Tao
225068fc5a
stb-imagedumper: handle resize 0w or 0h gracefully
2024-09-15 10:08:28 +10:00
Nigel Tao
aeb35f0449
example/std-imagedumper: print width x height
2024-09-12 09:06:46 +10:00
Nigel Tao
48d2ffcf14
example/std-imagedumper: add -resize=N flag
2024-09-11 23:15:54 +10:00
Nigel Tao
c304bd4c08
example/std-imagedumper: use Unicode half-blocks
2024-09-11 22:24:53 +10:00
Nigel Tao
97cd8d8e8a
example/jsonfindptrs: avoid g++ uninitialized warn
2024-09-11 21:49:28 +10:00
Nigel Tao
05f4c37964
example/std-imagedumper: add dark/light mode
2024-09-10 22:02:27 +10:00
Nigel Tao
b9e3c26dcc
example/std-imagedumper: add file size and timer
2024-09-10 21:41:02 +10:00
Nigel Tao
8aa51dfa49
example/std-imagedumper: add -braille-art flag
2024-09-10 07:46:07 +10:00
Nigel Tao
ef6814e6c6
example/stb-imagedumper: use ETC__ENABLE_ALLOWLIST
...
Binary size, before:
539144 gen/bin/example-stb-imagedumper
After:
534880 gen/bin/example-stb-imagedumper
2024-09-08 22:58:54 +10:00
Nigel Tao
42ba720d4e
pixconv: allow swizzling to Y (gray) more often
...
Binary size, before:
124816 gen/lib/c/clang-dynamic/wuffs-base-pixconv.lo
124816 gen/lib/c/clang-static/wuffs-base-pixconv.o
196736 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
196672 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
142032 gen/lib/c/clang-dynamic/wuffs-base-pixconv.lo
142032 gen/lib/c/clang-static/wuffs-base-pixconv.o
242712 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
242584 gen/lib/c/gcc-static/wuffs-base-pixconv.o
2024-09-08 22:54:35 +10:00
Nigel Tao
43d412a15f
example/stb-imagedumper: add USE_ONLY_JPEG
2024-09-08 11:29:18 +10:00
Nigel Tao
85af5a4bed
std/tga: rename to std/targa
2024-09-08 09:00:10 +10:00
Nigel Tao
8924b5f003
cgen: add ETC__ENABLE_DROP_IN_REPLACEMENT__STB
...
Fixes #153
2024-09-07 22:21:00 +10:00
Nigel Tao
b8740d8881
std/thumbhash: add new package
2024-09-03 20:07:37 +10:00
Nigel Tao
43df015669
std/etc2: add new package
2024-08-17 15:31:29 +10:00
Nigel Tao
d06700f00b
std/qoi: add new package
...
Fixes #63
2024-08-08 23:49:17 +10:00
Nigel Tao
ffb64df0a0
aux: add QuirkKeyValuePair type
2024-08-05 00:12:15 +10:00
Nigel Tao
8a722790af
example/imageviewer: change screen_gamma flag
2024-08-04 23:25:07 +10:00
Nigel Tao
c9fff5b207
std/jpeg: add and use WUFFS_BASE__QUIRK_QUALITY
2024-08-04 23:15:58 +10:00
Nigel Tao
09f4500e19
std/webp: add new package (and vp8 placeholder)
2024-05-10 13:52:07 +10:00
Nigel Tao
8ed5d1327b
example/gifplayer: tweak try_allocate workbuf len
2024-04-05 13:33:15 +11:00
Nigel Tao
1596343889
example/mzcat: embiggen static array buffers
...
$ time example-mzcat < linux-6.8.2.tar.xz > /dev/null
Before: user 0m8.392s
After: user 0m8.122s
2024-03-31 18:39:57 +11:00
Nigel Tao
f5bb519320
base: add ETC__DST_PIXEL_FORMAT__ENABLE_ALLOWLIST
...
Binary size, before:
412128 gen/bin/example-convert-to-nia
50680 gen/bin/example-gifplayer
449680 gen/bin/example-imageviewer
439000 gen/bin/example-sdl-imageviewer
151848 gen/bin/example-toy-aux-image
After:
302232 gen/bin/example-convert-to-nia
46144 gen/bin/example-gifplayer
352112 gen/bin/example-imageviewer
329168 gen/bin/example-sdl-imageviewer
138656 gen/bin/example-toy-aux-image
For further data points, if you hard-code define'ing
WUFFS_CONFIG__DST_PIXEL_FORMAT__ENABLE_ALLOWLIST and
WUFFS_CONFIG__DST_PIXEL_FORMAT__ALLOW_BGRA_PREMUL:
Binary size, before:
121368 gen/lib/c/clang-dynamic/wuffs-base-pixconv.lo
121368 gen/lib/c/clang-static/wuffs-base-pixconv.o
181088 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
181136 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
54784 gen/lib/c/clang-dynamic/wuffs-base-pixconv.lo
54784 gen/lib/c/clang-static/wuffs-base-pixconv.o
72144 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
72272 gen/lib/c/gcc-static/wuffs-base-pixconv.o
2024-03-29 22:19:47 +11:00
Nigel Tao
793ab36569
std/lzip: add new package
2024-03-01 09:52:54 +11:00
Nigel Tao
22b4ff4842
std/xz: decode concatenated streams
2024-02-26 23:02:40 +11:00
Nigel Tao
f06858f395
example/convert-to-nia: tweak write max len
2024-02-23 22:42:45 +11:00
Nigel Tao
4e20ba6876
example: add output-crc32-digest flag
2024-02-15 13:40:09 +11:00
Nigel Tao
2b4e8ce6a2
example/mzcat: support zlib
2024-02-09 16:07:43 +11:00
Nigel Tao
c21cc95713
std/lzma: use args.workbuf for io_buffer history
2024-02-08 21:38:30 +11:00
Nigel Tao
13115e4e1d
std/xz: fix QUIRK_IGNORE_CHECKSUM skipping bytes
2024-01-07 19:52:11 +11:00
Nigel Tao
ce0cee444d
std/xz: add new package
2023-12-25 13:24:24 +11:00
Nigel Tao
6668b604d3
example/mzcat: add new program (based on bzcat)
2023-12-17 14:06:52 +11:00
Nigel Tao
eed1af7bee
base: rename history_retain_length
...
It was renamed to dst_history_retain_length.
It also was removed from image_decoders and token_decoders. It only
applies to io_transformers, as retaining history applies to the
destination (not source) IO buffer.
Also adjust example/bzcat and example/zcat to apply the history retain
length to the dst (not src) buffer.
2023-12-17 12:26:08 +11:00
Nigel Tao
82ea1985b4
base: add optional_u63 type
2023-11-19 12:02:24 +11:00