Comprehensive TIFF I/O with Full Support for 'ImageJ' TIFF Files

General purpose TIFF file I/O for R users. Currently the only such package with read and write support for TIFF files with floating point (real-numbered) pixels, and the only package that can correctly import TIFF files that were saved from 'ImageJ' and write TIFF files than can be correctly read by 'ImageJ' < https://imagej.net/ij/>. Also supports text image I/O.


ijtiff

R-CMD-check

Project Status: Inactive – The project has reached a stable, usablestate but is no longer being actively developed; support/maintenancewill be provided as timeallows.

CRAN_Status_Badge RStudio CRANdownloads RStudio CRAN monthlydownloads

DOI

Introduction

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/.

Installation

libtiff

ijtiff requires you to have the libtiff C library installed. To install libtiff:

  • On Debian Linux, try sudo apt-get install libtiff-dev libbz2-dev libdeflate-dev liblzma-dev libwebp-dev libzstd-dev zlib1g-dev.
  • On Fedora Linux, try sudo yum install libtiff-devel libbz2-devel libdeflate-devel liblzma-devel libwebp-devel libzstd-devel zlib-devel.
  • 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.

ropensci_footer

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ijtiff")

3.2.0 by Rory Nolan, 9 months ago


https://docs.ropensci.org/ijtiff/, https://github.com/ropensci/ijtiff


Report a bug at https://github.com/ropensci/ijtiff/issues


Browse source code at https://github.com/cran/ijtiff


Authors: Rory Nolan [aut, cre] , Kent Johnson [aut] , Simon Urbanek [ctb] , Sergi Padilla-Parra [ths] (ORCID: , Jeroen Ooms [rev, ctb] , Jon Clayden [rev]


Documentation:   PDF Manual  


GPL-3 license


Imports checkmate, cli, dplyr, fs, graphics, grDevices, jsonlite, lubridate, magrittr, methods, purrr, readr, rlang, strex, stringr

Suggests abind, covr, EBImage, knitr, rmarkdown, spelling, testthat, tiff

System requirements: fftw3, libtiff, libbz2, libdeflate, libjpeg, liblzma, libwebp, libzstd, X11, zlib


Imported by autothresholdr, detrendr, nandb, slendr.

Suggested by BoneProfileR.


See at CRAN