This is a general purpose TIFF I/O utility for R. The tiff
package already exists for this purpose but ijtiff
adds
some functionality and overcomes some bugs therein.
ijtiff
can write TIFF files whose pixel values are real
(floating-point) numbers; tiff
cannot.ijtiff
can read and write text images;
tiff
cannot.tiff
struggles to interpret channel information and
gives cryptic errors when reading TIFF files written by the
ImageJ software; ijtiff
works smoothly with these
images.To learn about ijtiff
and how to use it, visit the
package website at https://docs.ropensci.org/ijtiff/.
libtiff
ijtiff
requires you to have the libtiff
C
library installed. To install libtiff
:
sudo apt-get install libtiff5-dev
, or if that fails,
trysudo apt-get install libtiff4-dev
.sudo yum install libtiff5-dev
, or if that doesn’t work,
trysudo yum install libtiff4-dev
.brew install libtiff
.ijtiff
R packageYou can install ijtiff
from CRAN (recommended) with:
install.packages("ijtiff")
ijtiff
R packageYou can install the development version from GitHub with:
::install_github("ropensci/ijtiff") devtools
This package uses a lot of code from the original tiff
package by Simon Urbanek.
Contributions to this package are welcome. The preferred method of contribution is through a github pull request. Feel free to contact me by creating an issue. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.