Compress a TIFF image

ff_compress(path, type = "deflate", out = path)

Arguments

path

Input image path.

type

Type of compression to apply ("none", "LZW", "PackBits", "RLE", "JPEG", "deflate" (default) or "Zip").

out

Output image path. Defaults to the input image path.

Value

The output image, invisibly.