rayimage: Image Processing for Simulated Cameras

Uses convolution-based techniques to generate simulated camera bokeh, depth of field, and other camera effects, using an image and an optional depth map. Accepts both filename inputs and in-memory array representations of images and matrices, including common raster formats such as 'JPEG', 'PNG', 'TIFF', 'TGA', 'BMP', 'PSD', 'GIF', 'HDR', 'PIC', 'PNM', 'DNG', and 'EXR'. Includes functions to perform 2D convolutions, color correction, colorspace conversion, image/matrix reorientation and resizing, image and text overlays, exposure adjustment, camera vignette effects, and image titles.

Version: 0.26.1
Depends: R (≥ 4.3.0)
Imports: Rcpp, png, jpeg, grDevices, grid, tiff, systemfonts, ragg
LinkingTo: Rcpp, RcppArmadillo, progress, tinydng, stbimageheaders
Suggests: magick, testthat (≥ 3.0.0), libopenexr (≥ 3.4.12-4), cli
Published: 2026-06-12
DOI: 10.32614/CRAN.package.rayimage
Author: Tyler Morgan-Wall ORCID iD [aut, cph, cre]
Maintainer: Tyler Morgan-Wall <tylermw at gmail.com>
BugReports: https://github.com/tylermorganwall/rayimage/issues
License: GPL-3
URL: https://www.rayimage.dev, https://github.com/tylermorganwall/rayimage
NeedsCompilation: yes
CRAN checks: rayimage results

Documentation:

Reference manual: rayimage.html , rayimage.pdf

Downloads:

Package source: rayimage_0.26.1.tar.gz
Windows binaries: r-devel: rayimage_0.15.1.zip, r-release: rayimage_0.15.1.zip, r-oldrel: rayimage_0.15.1.zip
macOS binaries: r-release (arm64): rayimage_0.15.1.tgz, r-oldrel (arm64): rayimage_0.15.1.tgz, r-release (x86_64): rayimage_0.15.1.tgz, r-oldrel (x86_64): rayimage_0.15.1.tgz
Old sources: rayimage archive

Reverse dependencies:

Reverse imports: rayrender, rayshader, rayvertex
Reverse linking to: rayvertex

Linking:

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