img1_path ) or using markdown directly ( !(imagepath)). The raw image on disk has a width of 1000px and height of 667px (300 dpi). Library(png) # For grabbing the dimensions of png files Start by loading the packages library(knitr) # For knitting document and include_graphics function For example library(jpeg) readJPEG(img1). NOTE: you can use the same process to examine jpegs, simply swap out png for jpeg.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |