Quote:To get a palette from the original RGB image is different.
1. In the palettes dialogue, right click to import https://i.imgur.com/iF437h3.jpg
2. You get the 'Import' dialogue where you can select the image, and the number of colours https://i.imgur.com/qLPGDYU.jpg
3. Then again, hunt for that palette (Lenna-imported-5), right click, rename to something sensible, note the 500 colours in this one. https://i.imgur.com/QBZPIJX.jpg
Try as I might, I always get the message "source contains no colors", and the resulting imported color palette contains only very few colors, e.g., only two.
However, when I first convert the mode of the image to indexed I can import the full color palette containing all colors.
Did I get something wrong with "To get a palette from the original RGB image..."?
Is it impossible to import a color palette from an RGB image?
Thanks,
gnuimpcub
P.S. Since I work with layers, I have to work with RGB mode.
Just tried it with Gimp 2.8.16 on Microsoft Windows 10 Home Edition OEM, Version 1511 (Build 10586.164). Same result as with Linux Debian
Quote:To get a palette from the original RGB image is different.
1. In the palettes dialogue, right click to import https://i.imgur.com/iF437h3.jpg
2. You get the 'Import' dialogue where you can select the image, and the number of colours https://i.imgur.com/qLPGDYU.jpg
3. Then again, hunt for that palette (Lenna-imported-5), right click, rename to something sensible, note the 500 colours in this one. https://i.imgur.com/QBZPIJX.jpg
Try as I might, I always get the message "source contains no colors", and the resulting imported color palette contains only very few colors, e.g., only two.
However, when I first convert the mode of the image to indexed I can import the full color palette containing all colors.
Did I get something wrong with "To get a palette from the original RGB image..."?
Is it impossible to import a color palette from an RGB image?
Thanks,
gnuimpcub
P.S. Since I work with layers, I have to work with RGB mode.
Just tried it with Gimp 2.8.16 on Microsoft Windows 10 Home Edition OEM, Version 1511 (Build 10586.164). Same result as with Linux Debian
Make sur e you click the "image" checkbox in the import dialog (and select the image). Otherwise you are importing colors from the current gradient.
Quote:To get a palette from the original RGB image is different.
1. In the palettes dialogue, right click to import https://i.imgur.com/iF437h3.jpg
2. You get the 'Import' dialogue where you can select the image, and the number of colours https://i.imgur.com/qLPGDYU.jpg
3. Then again, hunt for that palette (Lenna-imported-5), right click, rename to something sensible, note the 500 colours in this one. https://i.imgur.com/QBZPIJX.jpg
Try as I might, I always get the message "source contains no colors", and the resulting imported color palette contains only very few colors, e.g., only two.
However, when I first convert the mode of the image to indexed I can import the full color palette containing all colors.
Did I get something wrong with "To get a palette from the original RGB image..."?
Is it impossible to import a color palette from an RGB image?
Thanks,
gnuimpcub
P.S. Since I work with layers, I have to work with RGB mode.
Just tried it with Gimp 2.8.16 on Microsoft Windows 10 Home Edition OEM, Version 1511 (Build 10586.164). Same result as with Linux Debian
Make sur e you click the "image" checkbox in the import dialog (and select the image). Otherwise you are importing colors from the current gradient.
Thank you so much for these detailed informations. What I wealth of possibilities I never knew of! Considering that I not only are learing these new aspects of Gimp but also are learning how to handle my new Wacom Intuos graphic tablet I will resort to this coloring technique, for the time being:
Convert an RGB picture to indexed, import the color palette, and use this palette with similar RGB pictures to create. 256 colors are more than enough for the beginning.
While I go for a bespoke palette, limiting colours by using a selection or from a gradient.
Gimp does have provision for reducing colours.
The relevant bit from Gimp help is
...quote...Interval Even setting “Number of colors” to maximum, the number of colors can’t exceed 10000 in the palette. RGB images have much more colors. Interval should allow to group similar colors around an average and so get a better palette. This problem doesn’t exist with 256 colors indexed images: Interval to 1 allows picking 256 colors (this option is grayed out with more than 256 colors indexed palettes too).
To get a representative palette from your photograph, adjust the value of the interval until you get one that suits.
First of all, thank you very much for your detailed and free Gimp tuition
How do I use this script? I did put "sample-gradient-along-path.scm" in my HOME/.gimp-2.8/scripts/ directory, refreshed Filters > Script Fu, logged out, rebooted. However, when I try Windows > Dockable Dialogues > Gradients no Gradient Dialogue apears, nothing. How can I activate this dialogue?