2019-12-18 15:41:35 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# set -x
|
|
|
|
set -e
|
|
|
|
|
|
|
|
. ./variables.sh
|
|
|
|
|
|
|
|
if test_supported tiffload; then
|
2019-12-18 18:29:34 +01:00
|
|
|
VIPS_STALL=1 $vips copy $image $tmp/x.tif
|
2019-12-18 15:41:35 +01:00
|
|
|
cat > $tmp/mask.con <<EOF
|
|
|
|
3 3 8 0
|
|
|
|
-1 -1 -1
|
|
|
|
-1 16 -1
|
|
|
|
-1 -1 -1
|
|
|
|
EOF
|
2019-12-18 18:29:34 +01:00
|
|
|
VIPS_STALL=1 $vips conv $tmp/x.tif $tmp/x2.tif $tmp/mask.con
|
2019-12-18 15:41:35 +01:00
|
|
|
fi
|