It is currently Sun Jun 30, 2024 3:45 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Palettes
PostPosted: Thu Aug 29, 2019 11:42 pm  (#1) 
Offline
GimpChat Member

Joined: Feb 13, 2019
Posts: 9
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.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Palettes
PostPosted: Fri Aug 30, 2019 12:57 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
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?


Top
 Post subject: Re: Palettes
PostPosted: Fri Aug 30, 2019 4:55 am  (#3) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13068
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
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

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Palettes
PostPosted: Fri Aug 30, 2019 4:42 pm  (#4) 
Offline
GimpChat Member

Joined: Feb 13, 2019
Posts: 9
Attachment:
paletteNoSave.jpg
paletteNoSave.jpg [ 112.99 KiB | Viewed 5581 times ]

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


Top
 Post subject: Re: Palettes
PostPosted: Fri Aug 30, 2019 4:51 pm  (#5) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13068
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
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.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Palettes
PostPosted: Sat Aug 31, 2019 8:33 am  (#6) 
Offline
GimpChat Member

Joined: Feb 13, 2019
Posts: 9
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.


Top
 Post subject: Re: Palettes
PostPosted: Sat Aug 31, 2019 1:08 pm  (#7) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13068
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
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.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Palettes
PostPosted: Sat Aug 31, 2019 9:25 pm  (#8) 
Offline
GimpChat Member

Joined: Feb 13, 2019
Posts: 9
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 5515 times ]


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


Top
 Post subject: Re: Palettes
PostPosted: Sun Sep 01, 2019 3:09 am  (#9) 
Offline
New Member

Joined: Sep 01, 2019
Posts: 1
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.


Top
 Post subject: Re: Palettes
PostPosted: Sun Sep 01, 2019 3:58 am  (#10) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2435
@ 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

_________________
Image


Last edited by rich2005 on Sun Sep 01, 2019 9:44 am, edited 1 time in total.

Top
 Post subject: Re: Palettes
PostPosted: Sun Sep 01, 2019 4:28 am  (#11) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7742
Location: On the other side of this screen
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

_________________


Top
 Post subject: Re: Palettes
PostPosted: Sun Sep 01, 2019 6:24 pm  (#12) 
Offline
GimpChat Member

Joined: Feb 13, 2019
Posts: 9
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!

;)


Top
 Post subject: Re: Palettes
PostPosted: Mon Sep 02, 2019 1:32 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
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.


Top
 Post subject: Re: Palettes
PostPosted: Mon Sep 02, 2019 3:38 am  (#14) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2435
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 2235 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 2235 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 2235 times ]

_________________
Image


Top
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group