+append -colors 250 -unique-colors palette.png Now, before you display any image, map it to that palette: magick image.jpg -remap palette.png result.png You can also disable dithering, with: magick +dither image.jpg -remap palette.png result. and pick the palette that represents the colormap of your source image. So, the first step is to extract a common palette, of say 250 colours: magick image1.jpg image2.jpg. option.Ģ - color by color index number: With your target image already in indexed mode (convert to indexed as above, but use Generate optimum palette instead), use the option Colors->Map->Set Color Map. If you need the palette from the source image to be in a particular order other than the one it is put in (for example, ascending value of colors), duplicate the colormap palette of your source image (so that it is independently editable) and on the context menu of the Palette list dialog, use the Sort palette. To use those colors on another image, there are two options:ġ - color likeness mapping: Starting with an image in RGB mode (convert its mode back to RGB if it is indexed or grayscale, Image->Mode->RGB), convert the image to indexed - Image->Mode->Indexed - on the dialog that shows, pick the option to Use custom palette and choose the Palette of your source image. Click the paintbucket icon in the toolbox: Paintbucket icon in GIMP Apply the Color. If you open up the palettes tab Windows->Dockable Dialogs->Palettes, you will note that the colormap for any opened indexed image is ready to be used as a palette (if you want such a palette to become a permanent asset, just use the duplicate button on it, available at the bottom of the dialog). Applying Your Color Select the Paintbucket Tool.