I need to manipulate some image files based on their EXIF data. Can something like this be done in R? I have not seen any R functions which could read EXIF data directly.
The adimpro package may be useful. It maintains the EXIF data as a comment()
on the imported image. (not used it myself though.)
I could not find an R package that did it natively either, so I implemented my own at https://github.com/cmartin/EXIFr
As of now, it only reads a subset of tags I was using for a project, but I could easily extend it to suit your needs.
For example, to read the aperture value :
read_exif_tags(image_path)[["ApertureValue"]]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With