Truncated Issue

28 views
Skip to first unread message

Mohd Fikri Zaidan

unread,
Dec 2, 2024, 8:29:44 PM12/2/24
to camtrapR
Hi Jurgen,

 I have a issue with truncated image which unbale to detect the metadata of the file. However when I check the properties of the file, the metadata capture time were there. What should I do?. This process is during renaming file process using the exiftool then renaming command.Screenshot (119).png

Mohd Fikri Zaidan

unread,
Dec 2, 2024, 8:31:18 PM12/2/24
to camtrapR
exif_read(path = "C:/Users/mfzaidan/Desktop/R Test File/EXIF", recursive = TRUE)


inDir <- wd.images.in <- "C:/Users/mfzaidan/Desktop/R Test File/RAW FRESH/S01"

outDir <- wd.images.out <- "C:/Users/mfzaidan/Desktop/R Test File/RENAMED"

rename.table <- imageRename(inDir = wd.images.in,
                            outDir = wd.images.out,
                            hasCameraFolders = TRUE,
                            keepCameraSubfolders = FALSE,
                            copyImages = TRUE,
                            writecsv = TRUE)

Juergen Niedballa

unread,
Dec 4, 2024, 11:10:02 PM12/4/24
to camtrapR
Hello,
please share the output of exif_read(), since you are using that already, or try running exifTagNames() on one of these images and share the output (the complete image metadata) . This will help pinpoint the issue.
Did you modify the images in any way, or are they straight from the camera trap?  If these were Reconyx cameras some models did not save the date/time tag in the standard metadata tag. That can be fixed with fixDateTimeOriginal() as the error message mentions. But I would suggest we have a look at the existing metadata first. 
Thank you,
Jürgen

Reply all
Reply to author
Forward
0 new messages