Closed chrkuo closed 6 months ago
@chrkuo You can try to adjust imaging orientation with magick package
image <- image_read("path/to/image.jpg")
img_rotated <- image_rotate(image, angle = 90)
image_display(img_rotated)
@chrkuo For adjusting the size of a banner in R, it depends on the context. If you're creating a banner for a plot or visualization, you can adjust the size using the parameters of the plotting functions (e.g., ggplot2). library(ggplot2)
plot <- ggplot(data = iris, aes(x = Sepal.Length, y = Sepal.Width)) + geom_point()
ggsave("plot.png", plot = plot, width = 10, height = 5, units = "in")
If you're working with images, you can resize them using the magick package:
image <- image_read("path/to/image.jpg")
image_resized <- image_scale(image, "500x300")
image_display(image_resized)
Hi @krigia,
Thank you for providing your solution, which is very helpful!
Best, Ying
is there anyway to adjust the deconvoluted imaging orientation? and the size of the banner