GIMP Chat
http://gimpchat.com/

Creating palette from image
http://gimpchat.com/viewtopic.php?f=8&t=17841
Page 1 of 1

Author:  meetdilip [ Tue Dec 03, 2019 6:09 am ]
Post subject:  Creating palette from image

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 ?

Author:  meetdilip [ Tue Dec 03, 2019 6:33 am ]
Post subject:  Re: Creating palette from image

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.

Attachments:
create gpl using GIMP.gif
create gpl using GIMP.gif [ 732.85 KiB | Viewed 3303 times ]

Author:  rich2005 [ Tue Dec 03, 2019 6:37 am ]
Post subject:  Re: Creating palette from image

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.

Attachment:
01-palette.jpg
01-palette.jpg [ 136.41 KiB | Viewed 3303 times ]


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

Attachment:
02-palette.jpg
02-palette.jpg [ 182.77 KiB | Viewed 3303 times ]


Sorting? Yes but probably not the way you need.

Attachment:
03-palette.jpg
03-palette.jpg [ 151.6 KiB | Viewed 3303 times ]

Author:  meetdilip [ Tue Dec 03, 2019 6:55 am ]
Post subject:  Re: Creating palette from image

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

Attachments:
sort option palette.gif
sort option palette.gif [ 56.78 KiB | Viewed 3301 times ]

Author:  rich2005 [ Tue Dec 03, 2019 9:19 am ]
Post subject:  Re: Creating palette from image

Hmmm...going back
Quote:
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)?

Author:  meetdilip [ Tue Dec 03, 2019 9:36 am ]
Post subject:  Re: Creating palette from image

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

Attachments:
script-fu.gif
script-fu.gif [ 57.97 KiB | Viewed 3279 times ]

Author:  rich2005 [ Tue Dec 03, 2019 9:57 am ]
Post subject:  Re: Creating palette from image

You do not have gimp-python installed.

In a terminal

sudo apt install gimp-python


and if you want the mypaint brushes

sudo apt install mypaint-brushes


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

Author:  meetdilip [ Tue Dec 03, 2019 10:07 am ]
Post subject:  Re: Creating palette from image

@rich2005

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

Author:  rich2005 [ Tue Dec 03, 2019 10:18 am ]
Post subject:  Re: Creating palette from image

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.

Author:  meetdilip [ Tue Dec 03, 2019 10:20 am ]
Post subject:  Re: Creating palette from image

Thanks for explaining. :)

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/