mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
Tests/JBIG2: Add test images for non-0 templates
Produced by this shell script: ```sh S=Tests/LibGfx/test-inputs/bmp/bitmap.bmp J=$HOME/Downloads/T-REC-T.88-201808-I\!\!SOFT-ZST-E/Software J=$J/JBIG2_SampleSoftware-A20180829/source/jbig2 for t in template1 template1-tpgdon \ template2 template2-tpgdon \ template3 template3-tpgdon; do echo $t.ini cat $t.ini echo $J -i "${S%.bmp}" -f bmp -o bitmap-$t -F jb2 -ini $t.ini echo done ``` Producing this output: ```sh % ./make-templates.sh template1.ini -Gen -Seg 1 -Gen -Param -Template 1 -Gen -Param -ATX1 3 -Gen -Param -ATY1 -1 ENC Start ===>complete template1-tpgdon.ini -Gen -Seg 1 -Gen -Param -Template 1 -Gen -Param -ATX1 3 -Gen -Param -ATY1 -1 -Gen -Param -TpGDon 1 ENC Start ===>complete template2.ini -Gen -Seg 1 -Gen -Param -Template 2 -Gen -Param -TpGDon 1 -Gen -Param -ATX1 2 -Gen -Param -ATY1 -1 ENC Start ===>complete template2-tpgdon.ini -Gen -Seg 1 -Gen -Param -Template 2 -Gen -Param -ATX1 2 -Gen -Param -ATY1 -1 -Gen -Param -TpGDon 1 ENC Start ===>complete template3.ini -Gen -Seg 1 -Gen -Param -Template 3 -Gen -Param -ATX1 2 -Gen -Param -ATY1 -1 ENC Start ===>complete template3-tpgdon.ini -Gen -Seg 1 -Gen -Param -Template 3 -Gen -Param -ATX1 2 -Gen -Param -ATY1 -1 -Gen -Param -TpGDon 1 ENC Start ===>complete ``` `jbig2` still has the local patch mentioned in #23608 to make it write correct TPGDON data.
This commit is contained in:
parent
7035c2a2ff
commit
e2f02f4df7
Notes:
sideshowbarker
2024-07-16 23:55:09 +09:00
Author: https://github.com/nico
Commit: e2f02f4df7
Pull-request: https://github.com/SerenityOS/serenity/pull/23695
6 changed files with 0 additions and 0 deletions
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-template1-tpgdon.jbig2
Normal file
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-template1-tpgdon.jbig2
Normal file
Binary file not shown.
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-template1.jbig2
Normal file
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-template1.jbig2
Normal file
Binary file not shown.
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-template2-tpgdon.jbig2
Normal file
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-template2-tpgdon.jbig2
Normal file
Binary file not shown.
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-template2.jbig2
Normal file
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-template2.jbig2
Normal file
Binary file not shown.
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-template3-tpgdon.jbig2
Normal file
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-template3-tpgdon.jbig2
Normal file
Binary file not shown.
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-template3.jbig2
Normal file
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-template3.jbig2
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue