Learn R Programming

⚠️There's a newer version (3.1.3) of this package.Take me there.

ijtiff

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://ropensci.github.io/ijtiff.

Installation

libtiff

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

  • On Debian Linux, try sudo apt-get install libtiff5-dev, or if that fails, try
    sudo apt-get install libtiff4-dev.
  • On Fedora Linux, try sudo yum install libtiff5-dev, or if that doesn’t work, try
    sudo yum install libtiff4-dev.
  • On Mac, you need Homebrew. Then in the terminal, run brew install libtiff.
  • On 64-bit Windows, no setup is required

Copy Link

Version

Install

install.packages('ijtiff')

Monthly Downloads

1,334

Version

2.0.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Rory Nolan

Last Published

April 5th, 2025

Functions in ijtiff (2.0.2)

write_tif

Write images in TIFF format
count_frames

Count the number of frames in a TIFF file.
linescan-conversion

Rejig linescan images.
ijtiff

ijtiff: TIFF I/O for ImageJ users
ijtiff_img

ijtiff_img class.
display

Basic image display.
text-image-io

Read/write an image array to/from disk as text file(s).
tif_tags_reference

TIFF tag reference.
read_tif

Read an image stored in the TIFF format
read_tags

Read TIFF tag information without actually reading the image array.
as_EBImage