I'm trying to set a blank image with 300x300 resolution. However the following command does not seem to do it.
> image_1 <- image_blank(width = canvas_width, height= 10635, color = "none", defines = c('density' = '300'))
> image_1
# A tibble: 1 x 7
format width height colorspace matte filesize density
<chr> <int> <int> <chr> <lgl> <int> <chr>
1 png 3630 10635 sRGB TRUE 0 72x72
How do I set the density and if possible, make it a pdf not a png?