ropensci / rsvg

SVG renderer for R based on librsvg2
Other
97 stars 1 forks source link

add nativeraster #31

Closed coolbutuseless closed 2 years ago

coolbutuseless commented 2 years ago

This PR adds export to 'nativeRaster' format. This is a native R raster format which represents the ARGB values at each pixel location as a single 32bit integer.

nativeRaster format is fast to compute from the cairo canvas, and fast to plot natively in R using grid.raster()

jeroen commented 2 years ago

This is on cran btw.

jeroen commented 2 years ago

Can you look into the ubsan warnings?