I’m making a small app where I upload a pdf to shinayapps.io using Magick package and then do some changes, and then save it.
pdffig <- image_read(“www/foo.pdf”,density=“400x400”)
Some manipulations which doesnt matter…
image_write(pdffig, path = “www/foo1.pdf”)
When running the program on my computer everything works out fine and I can change the resolution using density, but when running on shinyapps.io the density command doesnt work and I get a bad resolution not matter what I density I set.
as I read that it may help but it didnt.