The following is the R code for renaming photos according to the shooting time in a batch mode. After installing ImageMagick, We can using the shell function to execute ImageMagick from R. ImageMagick is a software suite to create, edit, compose, or convert bitmap images. Now, the problem is how to access the header information of a photo? I didn’t find any R package can do that, and one reason I believe is that: there is wonderful open source software can do that well – ImageMagick. as DateTimeOriginal ) in the header of the photos, so we can find the shooting time by accessing the header of the photos. Luckily, some photos taken by a camera also recorded the shooting time and save it (e.g. But, we often make change to our photos, such like copy them from a place to another, edit using Photoshop, Picasa, etc., and then, the Date modified of your photo is not the shooting time anymore. Generally, shooting time can be found as Date modified, if you didn’t made a lot of change to your photos. For some reason, you want to know the shooting time of your photos.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |