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 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.

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 Directory.Create (year) and File.Move (oldpath, newpath) Can be used. To organize files.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -