/usr/bin/tiffcp: invalid option -- '-' LIBTIFF, Version 4.7.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc. Copy, convert, or combine TIFF files usage: tiffcp [options] input... output where options are: -a append to output instead of overwriting -o offset set initial directory offset -p contig pack samples contiguously (e.g. RGBRGB...) -p separate store samples separately (e.g. RRR...GGG...BBB...) -s write output in strips -t write output in tiles -x force the merged tiff pages in sequence -8 write BigTIFF instead of default ClassicTIFF -B write big-endian instead of native byte order -L write little-endian instead of native byte order -M disable use of memory-mapped files -C disable strip chopping -i ignore read errors -b file[,#] bias (dark) monochrome image to be subtracted from all others -,=% use % rather than , to separate image #'s (per Note below) -m size set maximum memory allocation size (MiB). 0 to disable limit. -r # make each strip have no more than # rows -w # set output tile width (pixels) -l # set output tile length (pixels) -f lsb2msb force lsb-to-msb FillOrder for output -f msb2lsb force msb-to-lsb FillOrder for output -c lzw[:opts] compress output with Lempel-Ziv & Welch encoding # set predictor value For example, -c lzw:2 for LZW-encoded data with horizontal differencing -c zip[:opts] compress output with deflate encoding # set predictor value p# set compression level (preset) For example, -c zip:3:p9 for maximum compression level and floating point predictor. -c lzma[:opts] compress output with LZMA2 encoding # set predictor value p# set compression level (preset) -c zstd[:opts] compress output with ZSTD encoding # set predictor value p# set compression level (preset) -c webp[:opts] compress output with WEBP encoding # set predictor value p# set compression level (preset) -c jpeg[:opts] compress output with JPEG encoding # set compression quality level (0-100, default 75) r output color image as RGB rather than YCbCr For example, -c jpeg:r:50 for JPEG-encoded RGB with 50% comp. quality -c packbits compress output with packbits encoding -c g3[:opts] compress output with CCITT Group 3 encoding 1d use default CCITT Group 3 1D-encoding 2d use optional CCITT Group 3 2D-encoding fill byte-align EOL codes For example, -c g3:2d:fill for G3-2D-encoded data with byte-aligned EOLs -c g4 compress output with CCITT Group 4 encoding -c sgilog compress output with SGILOG encoding -c none use no compression algorithm on output Note that input filenames may be of the form filename,x,y,z where x, y, and z specify image numbers in the filename to copy. example: tiffcp -b esp.tif,1 esp.tif,0 test.tif subtract 2nd image in esp.tif from 1st yielding result test.tif