Please develop a robot which generates thumbnails from existing images.
This must be done with a DotNet Core 3.0 (Preview 5) Worker Service, configured as Windows Service. I will supply you some URLs with detailed info about how to implement this.
It also needs to use a filesystemwatcher that I will supply. This class exposes callback methods that are called upon several events, such as file create, file delete, file change, etc.
You will need to make sure that a folder containing images is always synchronized with a thumbnails folder, thus:
- When a new file is created in the images folder, you generate a thumbnail for it and save it in the thumbnails folder
- When a image is deleted, you also delete its thumbnail in the thumbnails folder
- When a file changes, you generate a new thumbnail for it and save (overwrite) it in the thumbnails folder
The thumbnail generation logic should also be developed. Specify target height and target width values in [login to view URL], as well as target dpi (dots per inch), and if the thumbnails should be generated in black and white (grayscale) or in color, and in case of color, which color depth (8 bits, 16 bits, 24 bits, etc.). The target images format should also be specified in [login to view URL], such as jpg, gif, tiff, bmp, png, etc. The thumbnail generator should be able to convert any type of image.
This robot must be capable to synchronize multiple folders, thus in [login to view URL], you also configure an array with folder base-paths, as well as the folder name for images and for thumbnails. For example, suppose the following:
and having the images folder named "My Images", and the thumbnails folder named "The Thumbnails", so you will configure the filesystem watcher to watch on c:\service\selfies\my images, and generate thumbnails on c:\service\selfies\the thumbnails; also watch on c:\camera\front-camera\photos\my images, and generate thumbnails on c:\camera\front-camera\photos\the thumbnails; also watch on \\fileserver1\share1\photos1\my images, and generate thumbnails in \\fileserver1\share1\photos1\the thumbnails; and also watch on \\fileserver1\share1\photos2\my images, and generate thumbnails in \\fileserver1\share1\photos2\the thumbnails.
- Visual Studio 2019 Solution with:
-- 1 DotNet Core 3.0 Worker Service project which calls the class library, using standard DotNet Core dependency injection.
-- 1 DotNet Core 3.0 Class Library (with a reference to the filesystem watcher that I supply) which implements the robot and also all the conversion logic.
MAXIMUM BUDGET: USD 40
Please place your bids.