rasterpic: Convert Digital Images to Spatially Referenced 'SpatRaster' Objects

Convert digital images to spatially referenced 'SpatRaster' objects, as defined by the 'terra' package, using coordinates from supported spatial input classes. Supported inputs include numeric coordinate vectors and objects from the 'sf', 'terra' and 'stars' packages. The main function is an S3 generic, allowing other packages to extend support to additional spatial classes.

Version: 0.5.1
Depends: R (≥ 4.1.0)
Imports: cli, png, sf (≥ 1.0.0), terra (≥ 1.8-21), tools, utils
Suggests: ggplot2, knitr, quarto, stars, testthat (≥ 3.0.0), tidyterra
Published: 2026-06-23
DOI: 10.32614/CRAN.package.rasterpic
Author: Diego Hernangómez ORCID iD [aut, cre, cph]
Maintainer: Diego Hernangómez <diego.hernangomezherrero at gmail.com>
BugReports: https://github.com/dieghernan/rasterpic/issues
License: MIT + file LICENSE
URL: https://dieghernan.github.io/rasterpic/, https://github.com/dieghernan/rasterpic
NeedsCompilation: no
Citation: rasterpic citation info
Materials: README, NEWS
CRAN checks: rasterpic results

Documentation:

Reference manual: rasterpic.html , rasterpic.pdf
Vignettes: Get started (source, R code)

Downloads:

Package source: rasterpic_0.5.1.tar.gz
Windows binaries: r-devel: rasterpic_0.5.1.zip, r-release: rasterpic_0.5.0.zip, r-oldrel: rasterpic_0.5.1.zip
macOS binaries: r-release (arm64): rasterpic_0.5.1.tgz, r-oldrel (arm64): rasterpic_0.5.1.tgz, r-release (x86_64): rasterpic_0.5.1.tgz, r-oldrel (x86_64): rasterpic_0.5.1.tgz
Old sources: rasterpic archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rasterpic to link to this page.