【发布时间】:2018-06-05 16:50:41
【问题描述】:
我需要在图片上添加箭头。目前我正在使用下面的代码,但我想让箭头更长。
library(magick)
tiger <- image_read_svg('http://jeroen.github.io/images/tiger.svg', width = 400)
print(tiger)
tiger %>%
image_annotate(., "Tiger's mouth", size = 15, color = "red",
boxcolor = "gold", degrees = 00, location = "+196+250", font = 'Times') %>%
image_annotate( sprintf('\u2191'), size = 15, color = "red",
boxcolor = "gold", degrees = 270, location = "+180+265")
【问题讨论】:
标签: r magick-r-package