GEOTIFCP(1)
π GEOTIFCP π
okay bestie, sit down, grab a strawberry π, because i'm about to put you onto geotifcp from the libgeotiff Manual Pages and honestly? it's giving main character energy for anyone who moves TIFFs around. it's literally a copy tool but with the GeoTIFF metadata glow-up attached. periodt. β¨
πΈ NAME πΈ
geotifcp β copy a TIFF but with updated GeoTIFF metadata. no cap, that's the whole job. π
π SYNOPSIS π
geotifcp [options] [-e esri_worldfile] [-g metadata] input output
π¦ DESCRIPTION π¦
okay so first thing: geotifcp is identical in function to the LIBTIFF program tiffcp, bestie. same energy, same moves. BUT. it has one extra little superpower: if you use the -g option, the GeoTIFF information from the file gets installed into the output file. iconic.
and the -e worldfile option? that one overrides the tiepoint and scale information from the metadata file, based on whatever is inside the ESRI worldfile. the way it just rewrites that info? obsessed. π
if you don't use the -g option, the geotiff information from the source file is preserved in the new output file. so like, nothing gets lost, it just gets carried over. safe. π«Ά
geotifcp also inherits all the other file-transformation capabilities of the tiffcp program, so if you want help on the additional parameters, just give the command:
% geotifcp -h
and the metadata format? it's the same format described over in the listgeo(1) program. normally, metadata files for use with geotifcp are generated from a similar file using listgeo, and then you hand-edit them as required. yes bestie, by hand. it's a whole craft. β¨
β¨ OPTIONS β¨
-gfile β install GeoTIFF metadata from file-4proj4_str β install GeoTIFF metadata from a proj4 string-efile β install positioning info from the ESRI Worldfile file-aβ append to output instead of overwriting-8β write BigTIFF instead of the default ClassicTIFF-ooffset β set the initial directory offset-pcontig β pack samples contiguously (likeRGBRGB...)-pseparate β store samples separately (likeRRR...GGG...BBB...)-sβ write output in strips-tβ write output in tiles-iβ ignore read errors-dβ truncate 8 bitspersample to 4bitspersample-r# β make each strip have no more than # rows-w# β set output tile width (in pixels)-l# β set output tile length (in pixels)-flsb2msb β force lsb-to-msb FillOrder for output-fmsb2lsb β force msb-to-lsb FillOrder for output-clzw[:opts] β compress output with Lempel-Ziv & Welch encoding-czip[:opts] β compress output with deflate encoding-cjpeg[:opts] β compress output with JPEG encoding-cpackbits β compress output with packbits encoding-cg3[:opts] β compress output with CCITT Group 3 encoding-cg4 β compress output with CCITT Group 4 encoding-cnone β use no compression algorithm on output
π Group 3 options π
1dβ use default CCITT Group 3 1D-encoding2dβ use optional CCITT Group 3 2D-encodingfillβ byte-align EOL codes
for example, -c g3:2d:fill gets you G3-2D-encoded data with byte-aligned EOLs. slay. π
π₯ JPEG options π₯
- # β set compression quality level (0-100, default 75)
- r β output color image as RGB rather than YCbCr
for example, -c jpeg:r:50 gets you JPEG-encoded RGB data with 50% comp. quality. yes, half the quality, all of the vibes. π
π LZW and deflate options π
- # β set predictor value
for example, -c lzw:2 gets you LZW-encoded data with horizontal differencing. horizontal differencing! she's different like that. π
π SEE ALSO π
go read those too, bestie, they're the supporting cast and they ate. π
and that's the whole page, no skips, no summarising, every single flag accounted for. iykyk. π
mwah π this whole thing is libgeotiff 1.4.1 energy, dated August 2016 β shoutout to the libgeotiff Manual Pages for the source material, and to GEOTIFCP(1) for being the moment. byeee π¦
π¦ where this page comes from
- alpine 3.24: libgeotiff-doc 1.7.4-r0 Β· Public-Domain
- arch rolling: libgeotiff 1.7.4-1 Β· LicenseRef-libgeotiff
- debian bookworm: geotiff-bin 1.7.1-2+b1 Β· attribution
- debian trixie: geotiff-bin 1.7.4-1 Β· attribution
- epel 10: libgeotiff 1.7.3-3.el10_0 Β· MIT
- epel 9: libgeotiff 1.7.1-5.el9 Β· MIT
- fedora 43: libgeotiff 1.7.4-3.fc43 Β· MIT
- fedora 43: libgeotiff 1.7.4-3.fc43 Β· MIT
- fedora 43: mingw32-libgeotiff 1.7.4-3.fc43 Β· MIT
- fedora 43: mingw64-libgeotiff 1.7.4-3.fc43 Β· MIT
- fedora 44: libgeotiff 1.7.4-5.fc44 Β· MIT
- fedora 44: libgeotiff 1.7.4-5.fc44 Β· MIT
- fedora 44: mingw32-libgeotiff 1.7.4-5.fc44 Β· MIT
- fedora 44: mingw64-libgeotiff 1.7.4-5.fc44 Β· MIT
- nixos 26.05: libgeotiff 1.7.4
- nixpkgs unstable: libgeotiff 1.7.4
- opensuse-leap 16.0: geotiff 1.7.3-bp160.1.13 Β· MIT AND SUSE-Public-Domain
- opensuse-leap 16.0: geotiff 1.7.3-bp160.1.13 Β· MIT AND SUSE-Public-Domain
- opensuse-leap 16.0: geotiff 1.7.3-bp160.1.13 Β· MIT AND SUSE-Public-Domain
- opensuse-leap 16.0: geotiff 1.7.3-bp160.1.13 Β· MIT AND SUSE-Public-Domain
- ubuntu jammy: geotiff-bin 1.7.0-2build1 Β· attribution
- ubuntu noble: geotiff-bin 1.7.1-5build1 Β· attribution
- ubuntu questing: geotiff-bin 1.7.4-1
- ubuntu resolute: geotiff-bin 1.7.4-1build1 Β· attribution
- ubuntu stonking: geotiff-bin 1.7.4-2 Β· attribution
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms