linear_png_device: Select PNG Device

View source: R/linear_png_device.R

linear_png_deviceR Documentation

Select PNG Device

Description

Internal helper to pick the best available PNG graphics device. Uses ragg::agg_png() by default, then falls back to a Cairo-backed grDevices::png() device when use_ragg = FALSE, and finally to the base PNG device.

Usage

linear_png_device(use_ragg = TRUE)

Arguments

use_ragg

Default TRUE. If TRUE, return ragg::agg_png(). Set to FALSE to skip ragg.


rayimage documentation built on June 12, 2026, 5:06 p.m.