mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
example/convert-to-nia: add -output-netpbm flag
This commit is contained in:
1 parent
9c3275658a
commit
be9d3fcf0f
2 files changed
+79
-14
No files matched your search
@@ -43,8 +43,8 @@ fi
|
||||
result=0
|
||||
|
||||
handle() {
|
||||
local have=$(gen/bin/example-convert-to-nia <$1 2>/dev/null | gen/bin/example-crc32)
|
||||
local want=$(djpeg $1 2>/dev/null | gen/bin/example-convert-to-nia 2>/dev/null | gen/bin/example-crc32)
|
||||
local have=$(gen/bin/example-convert-to-nia -output-netpbm <$1 2>/dev/null | gen/bin/example-crc32)
|
||||
local want=$(djpeg $1 2>/dev/null | gen/bin/example-crc32)
|
||||
if [ "$want" != "00000000" ]; then
|
||||
if [ "$want" == "$have" ]; then
|
||||
echo "Match $1"
|
||||
|
||||
Reference in new issue
Block a user