File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -334,6 +334,7 @@ TEST_CASE(test_jbig2_decode)
334334
335335 Array test_inputs = {
336336 TEST_INPUT (" jbig2/bitmap.jbig2" sv),
337+ TEST_INPUT (" jbig2/bitmap-randomaccess.jbig2" sv),
337338 TEST_INPUT (" jbig2/bitmap-p32-eof.jbig2" sv),
338339 TEST_INPUT (" jbig2/bitmap-initially-unknown-size.jbig2" sv),
339340 TEST_INPUT (" jbig2/bitmap-composite-and-xnor.jbig2" sv),
Original file line number Diff line number Diff line change 1+ {
2+ "global_header" : {
3+ "organization" : " random_access" ,
4+ "number_of_pages" : 1
5+ },
6+ "segments" : [
7+ {
8+ "segment_number" : 0 ,
9+ "type" : " page_information" ,
10+ "page_association" : 1 ,
11+ "data" : {
12+ "page_width" : 399 ,
13+ "page_height" : 400 ,
14+ "flags" : {
15+ "is_eventually_lossless" : true
16+ }
17+ }
18+ },
19+ {
20+ "segment_number" : 1 ,
21+ "type" : " lossless_generic_region" ,
22+ "page_association" : 1 ,
23+ "data" : {
24+ "image_data" : {
25+ "from_file" : " bitmap.bmp"
26+ }
27+ }
28+ },
29+ {
30+ "segment_number" : 2 ,
31+ "type" : " end_of_page" ,
32+ "page_association" : 1
33+ },
34+ {
35+ "segment_number" : 3 ,
36+ "type" : " end_of_file" ,
37+ "page_association" : 0
38+ }
39+ ]
40+ }
You can’t perform that action at this time.
0 commit comments