mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
This commit is contained in:
@@ -2552,7 +2552,7 @@ void Magick::Image::classType ( const ClassType class_ )
|
||||
{
|
||||
// Quantize to create PseudoClass color map
|
||||
modifyImage();
|
||||
quantizeColors((unsigned long) QuantumRange + 1);
|
||||
quantizeColors(MaxColormapSize);
|
||||
quantize();
|
||||
image()->storage_class = static_cast<MagickCore::ClassType>(PseudoClass);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user