How to make a palette using solid color layers - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: How to make a palette using solid color layers (/Thread-How-to-make-a-palette-using-solid-color-layers) |
How to make a palette using solid color layers - AngelH - 06-13-2023 I have layers with single color layers as I really like these colors. I want to make a palette from these colors. I've followed the instructions at https://docs.gimp.org/en/gimp-palette-dialog.html#gimp-palette-new I made sure all of the color layers were visible I selected ALL Import Palette Chose
You can see several of the visible layers And you can see the palette only has one color in it. Help would be appreciated. I have over 180 layers and don't look forward to color picking each one in order to create a palette. Thanks, Angel RE: How to make a palette using solid color layers - rich2005 - 06-13-2023 Oh, dear 184 layers 3000 x 3000 pix 7.4 GB in memory. To make it more manageable, crop it down to a tiny size. say 10 x 10 pix Use the align tool to spread those out into a strip. Fix the image using Image -> Fit canvas to layers Now you can use the palettes context menu to make a new palette. A quick demo: https://i.imgur.com/ZsIN3IV.mp4 only using 19 layers but the same for your 184 RE: How to make a palette using solid color layers - Ofnuts - 06-13-2023 (06-13-2023, 06:03 PM)AngelH Wrote: I have layers with single color layers as I really like these colors. "Visible" when used with a "Sample merged" setting (see the color picker or the Pointer dialog), means that the layer is visible on the image window, not hidden by other layers. RE: How to make a palette using solid color layers - AngelH - 06-15-2023 (06-13-2023, 07:00 PM)rich2005 Wrote: Oh, dear 184 layers 3000 x 3000 pix 7.4 GB in memory. Hi Rich2005, Thank you again for sharing your expertise. I've never used Gimp's offset tool. How pretty my palette looked like that. And it did create the palette. A problem I did run into (aside from the original one), is that when I tried to rearrange the palette colors by moving them within the palette, the colors duplicated instead of moving. Do you know why? Have a good day Rich2005, RE: How to make a palette using solid color layers - Ofnuts - 06-15-2023 (06-15-2023, 04:50 PM)AngelH Wrote: A problem I did run into (aside from the original one), is that when I tried to rearrange the palette colors by moving them within the palette, the colors duplicated instead of moving. Do you know why? AFAIK this is the way the palette editor works, so you don't need to have distinct mouse actions for copy or move. If you wanted the move, you just delete the original. RE: How to make a palette using solid color layers - rich2005 - 06-15-2023 Quote:A problem I did run into (aside from the original one), is that when I tried to rearrange the palette colors by moving them within the palette, the colors duplicated instead of moving. Do you know why? Well, Ofnuts has the solution. Otherwise, It is annoying, Gimp can sort a palette in several ways but not it seems the order the colours occur in the image. (Inkscape is just as bad) The palette is a text file and can be sorted but with a large palette such as yours that is one big job. For a small palette this is the issue, the palette not corresponding to the source image. [attachment=9935] Sorted manually, it looks like this: [attachment=9936] RE: How to make a palette using solid color layers - Ofnuts - 06-16-2023 (06-15-2023, 06:38 PM)rich2005 Wrote: It is annoying, Gimp can sort a palette in several ways but not it seems the order the colours occur in the image. (Inkscape is just as bad) Not surprising considering that an image is a 2D collection while the palette is a 1D one, so "order of the colors in the image" is left to the appreciation of the viewer, and even when a scan order is defined any noise/dithering/compression artifacts in the image would produce an unexpected order. So that's quite a slippery slope. RE: How to make a palette using solid color layers - rich2005 - 06-16-2023 Quote:...snip...So that's quite a slippery slope. Yes, you might hope that Inkscape for example, which can create a .gpl palette from a set of coloured "objects" would sort according to the object hierarchy, but no, it sorts numerically according to Red value. I cannot think of any other applications that makes .gpl files. Must have a look around. |