to CRAN
The official CRAN release of the tiff package now includes all the features of this fork. Please use the CRAN package instead of this one.
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 the tiff
package requires that you have a working
development environment and, for macOS and Linux, an installed copy of libtiff
.
Windows: Install Rtools.
macOS:
- Install Xcode from the Mac App Store.
- Install Homebrew using these instructions.
- Install
libtiff
with the Terminal commandbrew install libtiff
.
Linux:
- Install a compiler and the development version of
libtiff
using the package manager for your Linux version.- Redhat Linux:
sudo yum install libtiff-devel
- Ubuntu 16.004 LTS:
sudo apt-get install libtiff5-dev
- Redhat Linux:
Finally, install the tiff
package from GitHub with:
# install.packages("remotes")
remotes::install_github("akoyabio/tiff")