[R] magick package says format is PNG when we load an SVG.

Ashim Kapoor @@h|mk@poor @end|ng |rom gm@||@com
Mon Feb 25 08:27:53 CET 2019


Dear All,

Here is a MWE :

library(magick)
tiger <- image_read_svg('http://jeroen.github.io/images/tiger.svg', width = 400)
print(tiger)

##   format width height colorspace matte filesize density
## 1    PNG   400    400       sRGB  TRUE        0   72x72

Why does the format say PNG ? Should it not say SVG? We just read an SVG file.

Can someone please explain?

Best Regards,

Ashim

	[[alternative HTML version deleted]]



More information about the R-help mailing list