bridge2camelot: Convert bridge lables to camelot metadata

Description Usage Arguments Details Value

View source: R/bridge2camelot.R

Description

This function will read photos metadata, convert it into a camelot report as good as we could, then write the camelot flavored data frame to the report_path

Usage

1
2
3
4
5
6
7
8
9
bridge2camelot(
  photo_path,
  report_path,
  report_name = paste0("bridge2camelot-", Sys.Date()),
  maxentries = 65535,
  extensions = c("JPG", "JPEG", "PNG"),
  progress = TRUE,
  verbos = TRUE
)

Arguments

photo_path

where to find the files

report_path

path to save the camelot metadata

report_name

a string, the base file name of the reports, default the date

maxentries

maximum entries in one csv file, default 65535

extensions

photo extensions, default c("JPG","JPEG","PNG"), case insensitive

progress

whether to have a progress bar, default true

verbos

whether to report during the progress

Details

Please check the package exifr for instructions on how to install needed dependencies, especially see ?exifr::read_exif, Make sure that exiftool are proper configed, check documentation in exifr and exiftool https://exiftool.org/.

Value

a bool return on whether there are errors, also with warning and error log if there is any


YunyiShen/CamelotXMP documentation built on Dec. 18, 2021, 8:22 p.m.