Mobile app version of vmapp.org
Login or Join
Ravi4787994

: Gimp - How do you specify a maximum number of colors when using a custom palette? In GIMP, when converting the color mode of an image into indexed, you are presented with the following dialog:

@Ravi4787994

Posted in: #ColorIndexing #Gimp

In GIMP, when converting the color mode of an image into indexed, you are presented with the following dialog:



When you let GIMP create the palette for you, you are able to specify the maximum number of colors. However when you use a custom palette, there seems to be no equivalent option for limiting the number of colors used.

What are some ways to work around this?

I want GIMP to calculate the closest colors among those in my custom palette so manually trimming the palette is not ideal.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ravi4787994

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sent7350415

convert to indexed with optimum palette but restrict the number of colors to the number you want
convert back to full RGB
convert again to indexed with your palette, to coerce the colors to your palette. This ensure that the final colors are in your palette.


This however assumes that your palette has a range of colors somehow compatible with the initial image.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme