ggfx icon indicating copy to clipboard operation
ggfx copied to clipboard

is it possible to manually adjust the resolution of with_raster()?

Open k-hench opened this issue 3 years ago • 2 comments

Hi 👋,

I want to apologize if this is the wrong place for this, since this likely is more of a feature-wish than an issue 😬.

Basically, I love the idea of with_raster(), but currently I am only able to control the resolution (dpi on the final figure) of the rasterized ggplot layer indirectly, by up-scaling the exported figure. Yet, when trying to keep plot configurations consistent over many plots (eg for a scientific publication), this forces one to also correct a zillion of other settings (font size, line widths, symbol sizes etc).

Hence, my question: is it possible to somehow adjust the resolution of with_raster() (now or potentially in the future)? (Also - apologies if this is a case where I am just to silly to RTFM correctly :fearful:)

k-hench avatar Mar 24 '21 10:03 k-hench

This is indeed the right place... 🙂

It is not currently possible, but would be in the future once #9 has been implemented. ggfx is in the process of release right now so it will not be part of the first version, but definitely a priority in the future

thomasp85 avatar Mar 24 '21 10:03 thomasp85

Awesome - thanks for the light-speed reply :relaxed: :+1:

k-hench avatar Mar 24 '21 10:03 k-hench