From bd60d1db7ea8b823600f037517410f79ad026a34 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sun, 3 Mar 2024 20:57:18 -0500 Subject: [PATCH] Tests/LibGfx: Add a simple test jbig2 file I created this by running jbig2 -i Tests/LibGfx/test-inputs/bmp/bitmap -f bmp -o bitmap -F jb2 using the `jbig2` tool whose source code is in the zip file here: https://www.itu.int/rec/T-REC-T.88-201808-I (Just `make jbig2` in Software/JBIG2_SampleSoftware-A20180829/source was enough to build it.) As far as I can tell (cf `JBIG2_EncMain()` which always writes `1` to the flags byte in the file header), this tool always writes files in the sequential organization. --- Tests/LibGfx/test-inputs/jbig2/bitmap.jbig2 | Bin 0 -> 312 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 Tests/LibGfx/test-inputs/jbig2/bitmap.jbig2 diff --git a/Tests/LibGfx/test-inputs/jbig2/bitmap.jbig2 b/Tests/LibGfx/test-inputs/jbig2/bitmap.jbig2 new file mode 100644 index 0000000000000000000000000000000000000000..3c49d706a7cce22cd867f85dd43d5f29188f6223 GIT binary patch literal 312 zcmbR4Nv*Qg z(G^9njIUcw4fJRUSDnSRasT3$yfqh1%T#h+6g)Hh?|bfeW=lo7we#}ZH(s@#XZ^u4G*;1F@!!f}VIr((Mc+20JTf7wf&%nUIWC#uc1^_c4daVEe literal 0 HcmV?d00001