Commit 6c9ae66a authored by Alessio Parma's avatar Alessio Parma

Update ConcreteOptimizationManager.cs

parent 75d9d0b7
......@@ -41,7 +41,7 @@ public sealed class ConcreteOptimizationManager : IOptimizationManager
private static readonly IDictionary<string, string> s_losslessPlugins = new Dictionary<string, string>
{
// Docs: https://github.com/imagemin/imagemin-gifsicle
[MimeTypeMap.IMAGE.GIF] = "--plugin.gifsicle.interlaced=false",
[MimeTypeMap.IMAGE.GIF] = "--plugin.gifsicle.interlaced=false --plugin.gifsicle.optimizationLevel=2",
// Docs: https://github.com/imagemin/imagemin-jpegtran
[MimeTypeMap.IMAGE.JPEG] = "--plugin.jpegtran.progressive=false",
// Docs: https://github.com/imagemin/imagemin-optipng
......@@ -55,7 +55,7 @@ public sealed class ConcreteOptimizationManager : IOptimizationManager
private static readonly IDictionary<string, string> s_lossyPlugins = new Dictionary<string, string>
{
// Docs: https://github.com/jihchi/imagemin-giflossy
[MimeTypeMap.IMAGE.GIF] = "--plugin.giflossy.interlaced=false",
[MimeTypeMap.IMAGE.GIF] = "--plugin.giflossy.interlaced=false --plugin.giflossy.optimize=2 --plugin.giflossy.lossy=80",
// Docs: https://github.com/imagemin/imagemin-mozjpeg
[MimeTypeMap.IMAGE.JPEG] = "--plugin.mozjpeg.progressive=false",
// Docs: https://github.com/imagemin/imagemin-pngquant
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment