Description Usage Arguments Value See Also Examples
This function makes it easy to return the values
for a single Exif tag. If you need multiple tag
values, it would be more efficient to use exif_df()
to extract them all at once.
1 2 3 4 5 6 7 8 |
files |
A character vector containing paths to jpeg files |
tag |
A numeric tag code or character tag name |
fill_value |
A value to return if tag not present |
named |
Should result be named with original file name? |
simplify |
Should result be simplified to a vector (if possible)? |
silent_errors |
If TRUE, no errors are triggered when processing files and the fill_value is used upon failure |
A vector or list of tag values
1 2 3 | sample_dir <- system.file("extdata", package="readexif")
sample_files <- list.files(sample_dir, pattern="\\.jpg$", full.names = TRUE)
exif_value(sample_files, "Orientation", fill_value=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.