You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pngquant supports an additional argument after passing the options, called [ncolors] for setting the palette size. For advanced optimization, it would be useful to have this available as an option:
Use cases are black-and white illustrations, such as icons, drawings or line-art, where a palette of 256 colors does not bring any noticable increase in quality over a smaller palette of e.g. 16 or 32 colors.
I would propose to add an option called colors or ncolors to the plugin to make this option available in imagemin.
The text was updated successfully, but these errors were encountered:
pngquant supports an additional argument after passing the options, called
[ncolors]
for setting the palette size. For advanced optimization, it would be useful to have this available as an option:Use cases are black-and white illustrations, such as icons, drawings or line-art, where a palette of 256 colors does not bring any noticable increase in quality over a smaller palette of e.g. 16 or 32 colors.
I would propose to add an option called
colors
orncolors
to the plugin to make this option available in imagemin.The text was updated successfully, but these errors were encountered: