GuangchuangYu / ggimage

:art: Use Images in ggplot2

Home Page:https://cran.r-project.org/package=ggimage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error trying to render SVG from local file

andrewcstewart opened this issue · comments

Hi there. Any idea what might be going on here? I have it traced down to an imagemagick issue, but I don't know what ggimage is doing in between?

Ignoring unknown parameters: image_colour, widthError in magick_image_readpath(path, density, depth, strip) : 
  Magick: must specify image size `/var/folders/c2/ytg8vml53vx74sn6t_m6vkpr0000gn/T//RtmpY3MFxc/magick-88792sonmStVmlI72' @ error/mvg.c/ReadMVGImage/186

Hm, should ggimage maybe be using magick::image_read_svg for SVGs ?

pls try github version of ggimage.