Post all Gimp scripts and script writing questions here
Mon Jun 06, 2022 10:06 am
I know you can easily turn a pallette into a gradient, I have done it a few times.
Is there a way to do the opposite, Gradient to pallette? Is there a script I can make use of? Couldn't see anything in GMIC to do it.
Mon Jun 06, 2022 10:13 am
I saw this last night, but I believe it's an older script. I'm looking for it...
Mon Jun 06, 2022 10:14 am
So there is one? I'll wait
Mon Jun 06, 2022 10:17 am
I havent tried it...
Mon Jun 06, 2022 10:25 am
It works. It's in the Image menu.
Mon Jun 06, 2022 10:29 am
thanks
Mon Jun 06, 2022 11:28 am
Thanks Mahvin. Done all 20 gradients
Mon Jun 06, 2022 12:08 pm
Without a script in two steps:
- Draw horizontal or vertical gradient in RGB image
- Convert to indexed colors (number of colors > size of palette, no dithering)
A palette auto-generated from the colormap of the indexed image appears in the Palettes list (2nd from top),
Tue Jun 07, 2022 1:38 am
Thanks Ofnuts, thought I'd try the script again today and is throwing errors
Tue Jun 07, 2022 2:00 am
I was not going to bother since you wanted a script, but not even necessary to have an image open.
Detached the palettes and gradients for convenience: Right click in palettes.
![gtop.jpg](./download/file.php?id=60001&sid=e78f848ab2f54c5b66014ea300d35981)
- gtop.jpg (180.49 KiB) Viewed 591 times
Tue Jun 07, 2022 3:32 am
Thankyou rich. Took a bit to understand as my palettes and gradients are in oppposite places than yours.
Tue Jun 07, 2022 4:08 am
rich2005 wrote:I was not going to bother since you wanted a script, but not even necessary to have an image open.
Detached the palettes and gradients for convenience: Right click in palettes.
** slaps forehead **
Powered by phpBB © phpBB Group.
phpBB Mobile / SEO by Artodia.