Content deleted Content added
mNo edit summary |
mNo edit summary |
||
Line 10:
Although more frequent in the past, nowadays color quantization with pallets of lower than 256 colours is mainly used in [[GIF]] and [[PNG]] images. Using "nearest-neighbor" quantization and allowing fewer colours usually results in smaller file sizes, however sophisticated "random dithering" can actually inflate the final size.
==Quantization algorithms==▼
A standard quantization [[algorithm]] works in 2 steps:
#Analyze the image's color usage to select the new color palette.
#[[Dithering|Dither]] the image to the new color palette.
▲==Quantization algorithms==
An usual quantization algorithm is the Octree-based algorithm, as described in the [http://msdn.microsoft.com MSDN] article on [[ASP.NET]] color quantization
<!-- FIXME: is there a link directly to the referenced article? -->
|