example/stb-imagedumper: fix demo count comment

This commit is contained in:
Nigel Tao committed 2026-04-01 21:58:43 +11:00
1 parent e7a6632ba1
commit 2d049080ac
1 file changed
+4 -4
+4 -4
View File
@@ -38,12 +38,12 @@ of running in a very restrictive sandbox (Linux's SECCOMP_MODE_STRICT).
See example/convert-to-nia and example/imageviewer in the Wuffs repository for See example/convert-to-nia and example/imageviewer in the Wuffs repository for
examples of using its C and C++ APIs. examples of using its C and C++ APIs.
Coming back to this program, pass the -demo flag to decode four versions of the Coming back to this program, pass the -demo flag to decode five versions of the
same image of the Mona Lisa, in Thumbhash, PKM/ETC2, JPEG and PNG formats. Only same image of the Mona Lisa, in Thumbhash, Handsum, PKM/ETC2, JPEG and PNG
the last one is lossless. formats. Only the last one is lossless.
As of September 2024, the actual STB Image implementation only decodes two out As of September 2024, the actual STB Image implementation only decodes two out
of four: JPEG and PNG. Wuffs' reimplementation decodes all four demo images. of five: JPEG and PNG. Wuffs' reimplementation decodes all five demo images.
Define the DECODE_ONLY_JPEG macro to limit the variety of image file formats Define the DECODE_ONLY_JPEG macro to limit the variety of image file formats
that Wuffs decodes to just JPEG, for smaller binaries and faster compiles. that Wuffs decodes to just JPEG, for smaller binaries and faster compiles.