c# - Sorting pictures into folders by date taken -
I want to make software that group images in folders from the date actually taken together, with folders in names in pictures The order will be sorted in:
Folder: 2000
Inside the folder: some photos taken in 2000.
How do I do this?
The picture has actually been taken, to get this date, you want to see Xf Are information.
When you use Not all images will have FTP data, so you might want to include a reply to Dawood's fallback. Once you receive the relevant date information, you can Image.FromFile () , this data automatically reads in
PropertyItems . You can use another reference again (to get the right code for date information). You can also use the code to make it easier to read.
Directory.Create (year) and
File.Move (oldpath, newpath) Can be used. To organize files.
Comments
Post a Comment