Displaying 1 result from an estimated 1 matches for "displaydataset".
2009 Jun 15
1
display SVG, PNG, GIF, JPEG, TIFF, PPM in new plot frame
...for the 'GDAL' geospatial data library
library(rgdal)
p <- system.file("my.png", package = "rgdal")
h <- GDAL.open(p) # returns a file handle
getDriverLongName(getDriver(h)) # should report "Portable Network Graphics"
displayDataset(h)
GDAL.close(h)
# note that recent versions of 'ReadImages' (see
# the JPEG section) will also read PNG [is the call
# still 'read.jpg'? -- or is it now 'read.png'?]
# JPEG
# ---------------------------------
# package 'rimage' provides...