Write a TIFF image

ff_write(img, path, compression = "deflate")

Arguments

img

2D or 3D array.

path

Path to write to.

compression

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