Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 714 Bytes

File metadata and controls

15 lines (10 loc) · 714 Bytes

ImageResizer.Plugins.PngOptimizer

PNG Optimizer for ImageResizer.NET

bike example

nQuant based optimizer for reducing png file sizes by palette quantization. Uses a Bayer matrix ordered dithering on alpha channel for smoother shadows.

Error diffusion dithering can sometimes give better results, but give noisy results during animation.

Parameters

  • optimizePng - values '1' or 'true', specifies if plugin should be used.
  • dither - numeric value '0' to '24' (default 6), how much dithering to apply when reducing colors.