Description Usage Arguments Details Value See Also Examples
This function will create a data.frame with one row for each file. Each Exif tag will get it's own column. A "file" column is also included with the original file name.
1 |
files |
A character vector containing paths to jpeg files. |
silent_errors |
If TRUE, no errors are triggered when processing files but an "Error" column is added to the output if an error occurs |
Note that some Exif values are difficult to represent with basic R data types. One such example are "rational" values that are specified with separate numerator and denominator values. Those values are combined into a vector and are included in the data.frame as a list column.
Some jpeg files embed thumbnails and may contain tags for both the main image and thumbnail. Tags from the thumbnail region (IDF1) will have names prefixed with "Thumbnail" to avoid duplicate names.
A data.frame
1 2 3 | sample_dir <- system.file("extdata", package="readexif")
sample_files <- list.files(sample_dir, pattern="\\.jpg$", full.names = TRUE)
exif_df(sample_files)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.