02-28-2021, 08:45 PM
As far as I can tell when you "save" the image, this is an XCF and the full colormap is kept.
When you "export" to GIF, yes, the colormap is reduced to the used colors.
In any case you can export the colormap of your image as a reference palette (Palette>Import from image), and use it when indexing other images, or to reindex a GIF where the palette has been reduced (Image>Mode>Indexed and specify a palette, and don't formet to untick "Remove unused colors from colormap)".
Another solution is to have a small part of the image carry all the colors in the colormap (and crop it out at the end). You can generate this using my ofn-colormap-to-layer script.
When you "export" to GIF, yes, the colormap is reduced to the used colors.
In any case you can export the colormap of your image as a reference palette (Palette>Import from image), and use it when indexing other images, or to reindex a GIF where the palette has been reduced (Image>Mode>Indexed and specify a palette, and don't formet to untick "Remove unused colors from colormap)".
Another solution is to have a small part of the image carry all the colors in the colormap (and crop it out at the end). You can generate this using my ofn-colormap-to-layer script.