Switch to full style
Ask all general Gimp related questions here
Post a reply

Creating palette from image

Tue Dec 03, 2019 6:09 am

GIMP Version: 2.10.14
Operating System: Linux
OS Version: Ubuntu 18.04
GIMP Experience: Basic Level

List any relevant plug-ins or scripts:
No

List any ERROR messages you received:
No



Thanks to this thread, now I know I create my own palettes using GIMP from images

viewtopic.php?f=8&t=17828

I have a couple of questions.

1. I just installed Ubuntu and GIMP. There is no palette tab on the right side dock. How can I bring one in ?

2. How can I create a colour palette from an image ?

a. Is it possible to set in which order colours will be arranged ?

Re: Creating palette from image

Tue Dec 03, 2019 6:33 am

Ok, I figured out. Now I have " Palette " dialogue and managed to learn how to create a palette by importing an image. But I am in the dark about how to sort the colours, unless you drag and drop using the cursor. Thanks.

Re: Creating palette from image

Tue Dec 03, 2019 6:37 am

This is a default Gimp 2.10.14 in a (k)ubuntu 18.04 (appalling isn't it, whoever devised that theme should be shot ;) However can be changed)
Click on any of the left pointing arrows and you can add tabs including the palette dock.

01-palette.jpg
01-palette.jpg (136.41 KiB) Viewed 3301 times


Then to import a palette, right click in the dock, choose import, and apply the dialogue

02-palette.jpg
02-palette.jpg (182.77 KiB) Viewed 3301 times


Sorting? Yes but probably not the way you need.

03-palette.jpg
03-palette.jpg (151.6 KiB) Viewed 3301 times

Re: Creating palette from image

Tue Dec 03, 2019 6:55 am

Thanks @rich2005 , it was helpful. But I don't see the option to sort

Re: Creating palette from image

Tue Dec 03, 2019 9:19 am

Hmmm...going back
1. I just installed Ubuntu and GIMP. There is no palette tab on the right side dock. How can I bring one in ?


Those options are python plugins. How did you install Gimp in your Ubuntu?
Check in Filters menu Is there a Python-Fu entry (just above Script-Fu)?

Re: Creating palette from image

Tue Dec 03, 2019 9:36 am

I installed GIMP through PPA from kesselgulasch. I tried filters > script-fu. Please see the gif below

Re: Creating palette from image

Tue Dec 03, 2019 9:57 am

You do not have gimp-python installed.

In a terminal

Code:
sudo apt install gimp-python


and if you want the mypaint brushes

Code:
sudo apt install mypaint-brushes


The whole thing https://www.gimp-forum.net/Thread-Gimp- ... -18-04-LTS

Re: Creating palette from image

Tue Dec 03, 2019 10:07 am

@rich2005

What does gimp-python do ? Those script-fu features you mentioned ? Thanks.

Re: Creating palette from image

Tue Dec 03, 2019 10:18 am

meetdilip wrote:What does gimp-python do ? Those script-fu features you mentioned ? Thanks.


Python-Fu lets you run python plugins. 'some-name'.py There are hundreds of these that do all sorts of functions. There are a few already included in Gimp and those palette entries are some of them.

If you ever download a python plugin in linux it goes in ~/.config/GIMP/2.10/plugins (~ is shorthand for your home partition) ~/.config is a hidden folder. You can show hidden in your File manager. In linux a python plugin has to be made executable. You can do that in your File Manager as well.

Script-Fu scripts are 'some-name'.scm There are hundreds of these as well. They go in ~/.config/GIMP/2.10/scripts

The two entries Python-Fu and Script-Fu in the Filters menu let you access command terminals. Do not worry about using that until you know what you are doing.

Re: Creating palette from image

Tue Dec 03, 2019 10:20 am

Thanks for explaining. :)
Post a reply