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.
On Mac, you need Homebrew. Then in the
terminal, run brew install libtiff.
On Windows, no setup is required.
Installing the release version of the ijtiff R package
You can install ijtiff from CRAN (recommended) with:
install.packages("ijtiff")
Installing the development version of the ijtiff R package
You can install the development version from GitHub with:
devtools::install_github("ropensci/ijtiff")
Acknowledgement
This package uses a lot of code from the original tiff package by
Simon Urbanek.
Contribution
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.
ijtiff
Introduction
This is a general purpose TIFF I/O utility for R. The
tiffpackage already exists for this purpose butijtiffadds some functionality and overcomes some bugs therein.ijtiffcan write TIFF files whose pixel values are real (floating-point) numbers;tiffcannot.ijtiffcan read and write text images;tiffcannot.tiffstruggles to interpret channel information and gives cryptic errors when reading TIFF files written by the ImageJ software;ijtiffworks smoothly with these images.To learn about
ijtiffand how to use it, visit the package website at https://docs.ropensci.org/ijtiff/.Installation
libtiffijtiffrequires you to have thelibtiffC library installed. To installlibtiff:sudo apt-get install libtiff-dev libbz2-dev libdeflate-dev liblzma-dev libwebp-dev libzstd-dev zlib1g-dev.sudo yum install libtiff-devel libbz2-devel libdeflate-devel liblzma-devel libwebp-devel libzstd-devel zlib-devel.brew install libtiff.Installing the release version of the
ijtiffR packageYou can install
ijtifffrom CRAN (recommended) with:Installing the development version of the
ijtiffR packageYou can install the development version from GitHub with:
Acknowledgement
This package uses a lot of code from the original
tiffpackage by Simon Urbanek.Contribution
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.