This tool uses FileOptimizer to recompress images: FileOptimizer. After this it does a Pixel by Pixel comparison to verify if the images are still equal. If they are, they can then be used by other projects.
This project is the source for the github package DeveImageOptimizer. It's currently being used in my WebOptimizationProject and DeveImageOptimizerWPF
GitHubActions Builds |
---|
CodeCov |
---|
(As of 21-02-2022 image optimization is also done in the unit tests which greatly improved the code coverage)
SonarQube |
---|
NuGet |
---|
Number | Description | Implementation progress |
---|---|---|
1 | It will remember all processed files, so it won't reprocess them again if they have already been optimized. | 100% |
2 | It will do a pixel for pixel comparison between the input/output and only replace the original if it matches 100% (this is just to be sure the image did not get corrupted) | 100% |
3 | It will compare the EXIF data for JPG files to see if some of the most important EXIF data isn't changed/corrupted/removed | 100% |
4 | If you select a folder it will only take PNG's, GIF's, JPEG's and BMP's from that folder to optimize, no other formats will be included | 100% |
5 | Automated builds / release | GitHub Actions: 100% |