Description Usage Arguments Value See Also Examples
View source: R/cbk.download.image.R
Download imagefile from a surface. This function download CASTEML of a surface, parse them and extract attachment tag in the first spot, and download to local directory. When outfile exists, this function does not download a new imagefile.
1 2 |
pmlfile_or_surface |
Unique ID of surface. Really, surface can be pmlfile, stone, and bib although only the first image will be downloaded. |
outfile |
Path to save a imagefile. Unless specified, imagename of Medusa will be located on current directory. |
force |
Download again and overwrite preexisting local imagefile. |
Path to the imagefile downloaded
casteml download
,
https://github.com/misasa/casteml, and
cbk.convert.casteml
1 2 3 4 5 | directAuth <- list(uri="https://dream.misasa.okayama-u.ac.jp/pub/")
pmlfile <- cbk.download.casteml("20160819165624-372633",directAuth=directAuth,force=TRUE)
imagefile <- cbk.download.image(pmlfile,directAuth=directAuth)
imagefile <- cbk.download.image("20160819165624-372633",directAuth=directAuth,force=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.