plewarehouse.blogg.se

File renaming tool for pictures
File renaming tool for pictures









file renaming tool for pictures

There are some other naming options, if you need. I use cam2pc (free version) for (initial) moving photos from my camera SD/CF cards to PC with automatic sorting and renaming to something like this year\year-month-day\year-month-day - 0001 (close to your desired format) with automatic lossless rotating (according to camera EXIF orientation tag). Apply this function to every file in your folder and you're on your way.

file renaming tool for pictures

# The exif starts out as a bunch of integers,Įxif_date = exif.get('DateTimeOriginal') or exif.get('DateTime') or exif.get('DateTimeDigitized') It is not a complete solution to your problem but might give you some direction: import PIL.ExifTags Here's a small bit of code that I have used personally to do some exif-based renaming.

file renaming tool for pictures

It is quite easy to access a file's exif data with PIL ( pip install pillow). Since you're a crafty wizard, maybe you'd like to try some Python.











File renaming tool for pictures