.NET Framework, Console Application
Version B
Statistics of image files
-
Functionality:
-
Get the name of directory with image files (the 1st parameter from command line)
- Get the name of output file (the 2nd parameter)
-
Read all images from files with extensions gif, bmp, jpg, jpeg
- Write to the output file information about images
- Format: fileName width height
- Sort by total size (width*height)
- Technical requirements:
- Hints:
- System.Drawing.Image
- DirectoryInfo, FileInfo
- StreamWriter
- Approximate points:
- command line arguments: 1.0
- reading files from directory: 3.5
- reading images from files: 2.0
- sorting images by total size: 2.0
- writing information to output file: 1.5