magick
magick copied to clipboard
geometry in image_border()
Are these images different?
library("magick")
logo <- image_read("https://www.r-project.org/logo/Rlogo.png")
image_border(logo, "red", "10x10")
image_border(logo, "red", "10x10+5-5")
If not, it seems like a bug.
This looks like a bug in ImageMagick. Actually multiple bugs. It seems to fill the entire background instead of just a border, and then ignore the border offset.