Comprehensive TIFF I/O with Full Support for 'ImageJ' TIFF Files
Overview
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.
NEW FEATURES
write_tif()now uses atags_to_writeparameter that accepts a named list of TIFF tags, consolidating support for all writable tags (previously used individual parameters).- Support for writing
imagedescriptionTIFF tag (tag 270) for OME-TIFF metadata. - Automatic metadata preservation: TIFF tags are automatically extracted from image attributes (e.g., from
read_tif()) and included when writing, enabling round-trip editing without metadata loss. - Tag name normalization: tag names in
tags_to_writeare now case-insensitive and ignore hyphens/underscores. - Compression and bits-per-sample overrides:
tags_to_writecan now overridecompressionandbits_per_sampleparameters.
MINOR IMPROVEMENTS
- Replace
vapply()withpurrr::map_chr()in tag normalization for cleaner, more consistent code style. - Refactored argument checking logic for better organization.
TESTS
- Add comprehensive test suite for automatic metadata pass-through and attribute tag handling (39 new tests).
- Add tests for compression override via
tags_to_write(11 tests).
Show all changes in 3.2.0Hide the rest of the changes in 3.2.0
- Add tests for
bits_per_sampleoverride viatags_to_write(9 tests).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 15 (1 internal)includes a package overview page
- Examples that run
- 100%11 run in a plain check
- Exported functions with examples
- 83%
- Documented parameters
- 100%
- Return-value docs
- 67%
- Help pages citing references
- 0%
- Reading and Writing Images HTML
- Text Images HTML
- The ImageJ Problem HTML
- Working with TIFF Tags HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 85
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
16 development-tooling and community-health practices detected across 10 families in the upstream repository
Checks run against github.com/ropensci/ijtiff on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2021-04-19
Show all practicesHide 6 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-11-30Commits: at least 11 crediting it in the message
- Claude Opus 4.810 commits · Jul 2026
Dependencies
Installing ijtiff adds 36 packages (23 with compiled code, 22 MB of source tarballs). Heaviest: stringi 11 MB, fs 1.4 MB, jsonlite 1.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 3.2.0Latest
- RR 4.5.0 released · 2025-04-11
- 3.1.32025-04-05 · diff ↗
- 3.1.12025-03-21 · diff ↗
- 3.1.0
- 3.0.0
- 2.3.52025-01-29 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 2.3.42023-12-13 · diff ↗
- 2.3.32023-10-08 · diff ↗
- 2.3.22023-07-16 · diff ↗
- 2.3.12023-05-06 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.3.02023-01-17 · diff ↗
- 2.2.92022-11-06 · diff ↗
Show 33 earlier eventsHide 33 earlier events
- 2.2.82022-08-31 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.2.72021-06-28 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.2.62021-04-20 · diff ↗
- 2.2.52021-01-14 · diff ↗
- 2.2.42020-11-09 · diff ↗
- 2.2.32020-11-01 · diff ↗
- 2.2.22020-10-18 · diff ↗
- 2.2.12020-10-10 · diff ↗
- 2.2.02020-08-05 · diff ↗
- 2.1.22020-07-24 · diff ↗
- 2.1.12020-07-04 · diff ↗
- 2.1.02020-07-02 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.0.5
- 2.0.42019-10-25 · diff ↗
- 2.0.32019-08-24 · diff ↗
- 2.0.22019-07-06 · diff ↗
- 2.0.12019-06-28 · diff ↗
- 2.0.02019-06-10 · diff ↗ ·
removed 2 exports
count_imgs, get_tiff_tags_referenceadded 4 exports
count_frames, tags_read, tif_read, tif_tags_reference - 1.5.12019-05-16 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.5.0
- 1.4.2
- 1.4.12018-09-24 · diff ↗
- 1.4.0
- RR 3.5.0 released · 2018-04-23
- 1.1.0
- 1.0.02018-03-16 · diff ↗
- 0.3.02018-02-13 · diff ↗
- 0.2.02017-12-19
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-12-19
- Total releases
- 39 / 9 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.2
- Download size
- 2.2 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("ijtiff")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.21105/joss.00633.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.