R/rgl-raster-png.R
convert_device_raster_to_png.Rd
Helper function to convert device raster data to a PNG file
convert_device_raster_to_png(args, flip_y = FALSE, debug_items = c())
args | arguments to a 'raster' device call |
---|---|
flip_y | whether to flip the image vertically. default: FALSE |
debug_items | character vector of names of things to debug |
list with 'png_filename' and the RGBA 'array_data' (values in [0, 1])