File tree 7 files changed +41
-0
lines changed
7 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,8 @@ png-roundtrip.test
128
128
ps-roundtrip.test
129
129
ps-alt-roundtrip.test
130
130
sgi-roundtrip.test
131
+ sbig-roundtrip.test
132
+ st4-roundtrip.test
131
133
sunrast-roundtrip.test
132
134
targa-roundtrip.test
133
135
tiff-roundtrip.test
Original file line number Diff line number Diff line change @@ -182,6 +182,8 @@ pgmtolispm: ok
182
182
pgmtopbm: ok
183
183
pgmtopgm: ok
184
184
pgmtoppm: ok
185
+ pgmtosbig: ok
186
+ pgmtost4: ok
185
187
pi1toppm: ok
186
188
pi3topbm: ok
187
189
picttoppm: ok
@@ -318,6 +320,7 @@ spctoppm: ok
318
320
spottopgm: ok
319
321
sputoppm: ok
320
322
srftopam: ok
323
+ st4topgm: ok
321
324
sunicontopnm: ok
322
325
svgtopam: ok
323
326
tgatoppm: ok
@@ -334,6 +337,7 @@ xwdtopnm: ok
334
337
ybmtopbm: ok
335
338
yuvsplittoppm: ok
336
339
yuvtoppm: ok
340
+ yuy2topam: ok
337
341
zeisstopnm: ok
338
342
fiascotopnm: ok
339
343
manweb: ok
Original file line number Diff line number Diff line change @@ -221,6 +221,8 @@ ordinary_testprogs="\
221
221
pgmtopbm \
222
222
pgmtopgm \
223
223
pgmtoppm \
224
+ pgmtosbig \
225
+ pgmtost4 \
224
226
pi1toppm \
225
227
pi3topbm \
226
228
picttoppm \
@@ -357,6 +359,7 @@ ordinary_testprogs="\
357
359
spottopgm \
358
360
sputoppm \
359
361
srftopam \
362
+ st4topgm \
360
363
sunicontopnm \
361
364
svgtopam \
362
365
tgatoppm \
@@ -373,6 +376,7 @@ ordinary_testprogs="\
373
376
ybmtopbm \
374
377
yuvsplittoppm \
375
378
yuvtoppm \
379
+ yuy2topam \
376
380
zeisstopnm \
377
381
"
378
382
Original file line number Diff line number Diff line change
1
+ 1571496937 33838
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # This script tests: pgmtosbig sbigtopgm
3
+ # Also requires: pamchannel
4
+
5
+ alias sbigtopgm=" ${PBM_TESTPREFIX} sbigtopgm"
6
+ alias pgmtosbig=" ${PBM_TESTPREFIX} pgmtosbig"
7
+ shopt -s expand_aliases
8
+
9
+ # Should produce 1571496937 33838, cksum of testimg.red
10
+
11
+ pamchannel -infile=testimg.ppm -tupletype=" GRAYSCALE" 0 | pamtopnm | \
12
+ pgmtosbig | sbigtopgm | cksum
Original file line number Diff line number Diff line change
1
+ 185194654 31695
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # This script tests: pgmtost4 st4topgm
3
+ # Also requires: pamchannel pamtopnm pamcut
4
+
5
+ alias st4topgm=" ${PBM_TESTPREFIX} st4topgm"
6
+ alias pgmtost4=" ${PBM_TESTPREFIX} pgmtost4"
7
+ shopt -s expand_aliases
8
+
9
+ # Input image of pgmtost4 must by 192x165
10
+
11
+ # Should produce 185194654 31695 which is the output of:
12
+ # pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | \
13
+ # pamtopnm | pamcut -pad 0 0 192 165 | cksum
14
+
15
+ pamchannel -infile=testimg.ppm -tupletype=" GRAYSCALE" 0 | \
16
+ pamtopnm | pamcut -pad 0 0 192 165 | \
17
+ pgmtost4 | st4topgm - | cksum
You can’t perform that action at this time.
0 commit comments