Sample merged: When this option is checked, colors are picked from all visible layers. If unchecked, pixels are picked from the active layer only, even though not visible.
Selected pixels only: As the name says, pixels are picked from the selected area only, in the active layer or all visible layers according to the status of the previous option.
Here are the settings I used.
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.
06-13-2023, 07:00 PM (This post was last modified: 06-13-2023, 07:01 PM by rich2005.)
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.
Sample merged: When this option is checked, colors are picked from all visible layers. If unchecked, pixels are picked from the active layer only, even though not visible.
Selected pixels only: As the name says, pixels are picked from the selected area only, in the active layer or all visible layers according to the status of the previous option.
Here are the settings I used.
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
"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.
06-15-2023, 04:50 PM (This post was last modified: 06-15-2023, 05:28 PM by Ofnuts.)
(06-13-2023, 07:00 PM)rich2005 Wrote: 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.
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?
(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.
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.
(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.
06-16-2023, 08:03 AM (This post was last modified: 06-16-2023, 08:04 AM by rich2005.)
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.