This is a fork of the official tiff package with many updates including
- Limited support for tiled images
- New
readTIFFDirectory
function reads image tags without reading the actual image - Ability to read (or get info on) selected images within a file
See the NEWS file for details.
Installing tiff
from source requires that you have a working
development environment.
- Windows: Install Rtools.
- Mac: Install Xcode from the Mac App Store.
- Linux: Install a compiler and various development libraries (details vary across different flavors of Linux).
Mac users must also install libtiff
; use homebrew
with the command brew install libtiff
.
Linux users must install the development version of libtiff
using the package manager for their Linux version.
- Redhat Linux:
sudo yum install libtiff-devel
- Ubuntu 16.004 LTS:
sudo apt-get install libtiff5-dev
Finally, install the tiff
package from github with:
# install.packages("devtools")
devtools::install_github("akoyabio/tiff")