GIMP Chat
http://gimpchat.com/

Palettes
http://gimpchat.com/viewtopic.php?f=8&t=17672
Page 1 of 1

Author:  brock [ Thu Aug 29, 2019 11:42 pm ]
Post subject:  Palettes

GIMP Version: 2.8.14
Operating System: Windows
GIMP Experience: Intermediate Level

List any ERROR messages you received:
selected source contains no colors
no palette to import




I viewed several palette tutorials and read a couple on how to use palettes and import and export.

-There is no .gpl export or save palette option?
-when I export as .css .py .txt .java .php it won't allow me to import them later?
I gives me an error message.
selected source contains no colors
no palette to import

So whats the point of exporting them if you can't reload them or save them to use next time you start Gimp?

Thanks.

Author:  Nidhogg [ Fri Aug 30, 2019 12:57 am ]
Post subject:  Re: Palettes

If you import a palette successfully it will be saved automatically in your palettes folder. Refresh palettes after import and you'll see it appear in your user/palettes/ folder in the .gpl format. Then you can export it to another format.
But why export the palette to non-native format if you're using it in Gimp?

Author:  Wallace [ Fri Aug 30, 2019 4:55 am ]
Post subject:  Re: Palettes

Use the Palette Editor,
to save a palette.

Image
After you've saved it.
Right click on the palette and copy it's location/path.
Which should be in your Palettes Folder.

Image

Author:  brock [ Fri Aug 30, 2019 4:42 pm ]
Post subject:  Re: Palettes

Attachment:
paletteNoSave.jpg
paletteNoSave.jpg [ 112.99 KiB | Viewed 5597 times ]

Here is a screenshot of the palette editor. It has no save option? only edit?

Author:  Wallace [ Fri Aug 30, 2019 4:51 pm ]
Post subject:  Re: Palettes

brock wrote:
Attachment:
paletteNoSave.jpg

Here is a screenshot of the palette editor. It has no save option? only edit?

When you click the save button,
from within the Palettes Editor.
The current active palette is saved as a .gpl file,
to your Palettes Folder.
If you right click on the active palette.
You can copy it's file location.

* * *

If you mean,
that the save option is Grayed Out/Not Available.
Click on one of the swatches/colors,
within the current palette.
This should activate the save button.

Author:  brock [ Sat Aug 31, 2019 8:33 am ]
Post subject:  Re: Palettes

I went back in and selected the swatches but still No save option appeared?
It looked exactly like screenshot I just posted?

According to
https://docs.gimp.org/en/gimp-concepts-palettes.html

"When you create palettes using the Palette Editor, they are automatically saved as soon as you exit GIMP, in the palettes folder of your personal GIMP directory. Any palette files in this directory, or in the system palettes directory created when GIMP is installed, are automatically loaded and shown in the Palettes dialog the next time you start GIMP."

No this does not happen, it doesn't save any palettes, you have to recreate them every time you reload Gimp.

Author:  Wallace [ Sat Aug 31, 2019 1:08 pm ]
Post subject:  Re: Palettes

The screenshot you uploaded.
Does not show the Palette Editor.
What it does show,
is the "normal" palette dialog.
Image

To open the Palette Editor.
Double clicking on a palette,
within the Palette Dialog.
Should open the Palette Editor.
The Palette Editor,
will say "Palette Editor" on it.


Image

* * *


I created this palette (Green Tree),
while Gimp was open/running.

The screenshot below,
shows this new palette in my Palette Folder,
along with the location copied from the palette menu.
Only seconds after saving.
By clicking on the Save Button,
within the Palette Editor.

This is how it is suppose to function.


Image

If this is not occurring,
within your Gimp application.
There could be corruption of your User Profile.

Author:  brock [ Sat Aug 31, 2019 9:25 pm ]
Post subject:  Re: Palettes

I had to click on a color swatch about 15 times before a seperate palette editor opened up.
At the top of the selection bar, it says palette editor? Then clicking on a swatch opens a second palette editor? Gimp can be
very convaluted.

Attachment:
nopalette2.jpg
nopalette2.jpg [ 116.17 KiB | Viewed 5531 times ]


Anyways, the second seperate palette editor opened up but it didn't have any Save option? only edit?

Author:  Archie [ Sun Sep 01, 2019 3:09 am ]
Post subject:  Re: Palettes

Hi Brock. Can you confirm a couple of things? Can you go to Help>About to confirm what version you're running? Your screenshots don't seem to be from 2.8. That help page you linked to would apply to 2.10 since they seem to have removed the Save icon from the bottom of the palette editor. Why? Who knows? Could you also give the location of the folder you're checking for the palettes? I don't know what it should be for Windows. I can tell you the information on that help page worked for me. Click on Create New Palette at the bottom of the Palettes tab, add colors to the palette in the Palette Editor, name it, and restart Gimp. The palette should be in your user folder.

Author:  rich2005 [ Sun Sep 01, 2019 3:58 am ]
Post subject:  Re: Palettes

@ brock
Lets go back to the essentials from your first post.

Quote:
-There is no .gpl export or save palette option?
no palette to import


I agree that there is no 'Save' button but the Gimp docs are correct. The palette is saved in your Gimp profile when you exit Gimp.

For an existing something.gpl Import is an unfortunate choice of terminology. Adding is better. Put
something.gpl in your Gimp profile palettes folder, refresh the palettes and that is all. Lots of palettes to swap in and out? There is a resources manager plugin that lets you do that on the fly, but that is another topic.

Importing. You can import from the active image (or gradient). It is saved when you close Gimp. Same with editing.

Your forum profile says Gimp 2.8 but your screenshot looks like Gimp 2.10 ;) so a short video on the above using Gimp 2.10. Not too arduous, duration 3 minutes.

https://youtu.be/zYfoyo8bKmY

Author:  sallyanne [ Sun Sep 01, 2019 4:28 am ]
Post subject:  Re: Palettes

When I created some pallettes earlier this year they saved immediately in 2.10. No need to 'save' or restart. If you want just press the refresh button
:refresh

Author:  brock [ Sun Sep 01, 2019 6:24 pm ]
Post subject:  Re: Palettes

My first post says Gimp 2.10.14. Actually its 2.10.12.

I can't find any way to select my Gimp version in my user control panel.

Anyways I retried to save a palette about ten times to no avail. Then I watched your video on palettes.
Your method was completely different from the palettes youtube video by Davesmediadesign.
He showed to create a palette you have to go to image-->mode-->indexed-->generate palette.
When I kept doing it by his method, it wouldn't save any palettes.

Then I tried your method to click on a palette in the palette editor, then Select Import from Image.
Then I it autosaved as gpl in my folder upon exiting. So apparently the Davesmediadesign method
doesn't work unless Gimp somehow changed the palette auto save to import now?

There is still no save option, but atleast it autosaves now.

Thanks guys for all the help, now onto learning how to use palettes, whew!

;)

Author:  Nidhogg [ Mon Sep 02, 2019 1:32 am ]
Post subject:  Re: Palettes

brock wrote:
Your method was completely different from the palettes youtube video by Davesmediadesign.
He showed to create a palette you have to go to image-->mode-->indexed-->generate palette.

image-->mode-->indexed-->generate palette has nothing to do with creating palettes.
It converts your current opened image from RGB mode to indexed mode, using a chosen palette.

Author:  rich2005 [ Mon Sep 02, 2019 3:38 am ]
Post subject:  Re: Palettes

Quote:
My first post says Gimp 2.10.14. Actually its 2.10.12.


Attachment:
2.8.gif
2.8.gif [ 42.58 KiB | Viewed 2251 times ]


Hence the confusion ;)

Quote:
youtube video by Davesmediadesign.

You should be careful with those videos, Really a PS user, who makes money from all the adverts that come with the video. Equally bad, a lot of the advice is poor, even wrong.

Quote:
He showed to create a palette you have to go to image-->mode-->indexed-->generate palette.
When I kept doing it by his method, it wouldn't save any palettes.

That creates an indexed image (a gif sometimes a png) colormap, not the same as a palette. The colormap is a look-up table stored in the image. Any indexed image pixel is assigned a colour from those available in the colormap.
Once in indexed mode then go and import a palette from that image.

Attachment:
colormap.jpg
colormap.jpg [ 108.34 KiB | Viewed 2251 times ]


Quote:
There is still no save option, but at least it autosaves now.

It is in the Gimp 2.10 docs.

Attachment:
palette.jpg
palette.jpg [ 34.14 KiB | Viewed 2251 times ]

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