e1baf66f19
The "squash" option to tiffsave now also squashes 32-bit 3-band float CIELAB images down to 8 bits. See https://github.com/libvips/libvips/issues/1499
18 lines
254 B
Bash
Executable File
18 lines
254 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# set -x
|
|
set -e
|
|
|
|
. ./variables.sh
|
|
|
|
if test_supported tiffload; then
|
|
VIPS_STALL=1 $vips copy $image $tmp/x.tif
|
|
cat > $tmp/mask.con <<EOF
|
|
3 3 8 0
|
|
-1 -1 -1
|
|
-1 16 -1
|
|
-1 -1 -1
|
|
EOF
|
|
VIPS_STALL=1 $vips conv $tmp/x.tif $tmp/x2.tif $tmp/mask.con
|
|
fi
|