-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added info about implemented algorithms
- Loading branch information
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
ImgBot uses [ImageMagick](http://www.imagemagick.org) to optimize images through the `LosslessCompress()` routine from the The .NET wrapper [Magick.NET](https://github.com/dlemstra/Magick.NET). | ||
|
||
**ImgBot** uses compression algorithms to optimize images, and by default `LosslessCompress()` is used. | ||
This means that while the file size is going down, the quality and dimensions remain intact. | ||
|
||
The file size is measured before and after compression and the results are reported in the commit message body. | ||
When configuring your setup, you can choose between non-aggressive `LosslessCompress()` and aggressive `LossyCompression()` compression. | ||
|
||
The images are compressed in place after cloning the repo. | ||
To provide the strong optimization, **ImgBot** utilizes multiple compression algorithms, and these are currently implemented: | ||
- [ImageMagick](http://www.imagemagick.org) | ||
- [Svgo](https://github.com/svg/svgo) | ||
- [MozJpeg](https://github.com/mozilla/mozjpeg) | ||
|
||
|
||
Once installed into any repo, ImgBot will run the `LosslessCompress()` routine on an ongoing basis and open PRs to keep your images optimized. | ||
The images are compressed in place after cloning the repo, and once installed into any repo, **ImgBot** will run the `LosslessCompress()` routine on an ongoing basis and open PRs to keep your images optimized. | ||
|
||
The file size is measured before and after compression and the results are reported in the commit message body, to keep you updated. |