Post Reply 

creating new palettesHe

Apr 1, 2014, 16:37
Post: #1
creating new palettesHe
Hello:

I am a beginner with GIMP and this is my first post to this forum.

I would like to know if it is possible to create a new palette in GIMP using colors other than those found in GIMP palettes — i.e. colors imported as images or as hexadecimal specifications.

best regards

Forrest
Find all posts by this user
Quote this message in a reply
Apr 1, 2014, 17:49 (This post was last modified: Apr 2, 2014 08:27 by rich2005.)
Post: #2
RE: creating new palettesHe
edit: was totally irrelevant, misread palette for gradient

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Apr 1, 2014, 21:30
Post: #3
RE: creating new palettesHe
You can also create a palette from an existing image by opening it in Gimp and then following the steps below.


Attached File(s) Thumbnail(s)
       
Find all posts by this user
Quote this message in a reply
Apr 1, 2014, 23:54
Post: #4
RE: creating new palettesHe
Thank you for your helpful replies. Rich 2005 and fluffybunny2
Find all posts by this user
Quote this message in a reply
Apr 2, 2014, 00:23
Post: #5
RE: creating new palettesHe
I have tried to implement Fluffybunny2's solution (above) but have not succeeded.
I have followed all four steps, but after selecting the image (an .xcf file) the preview is black and the caption reads "the selected source contains no colors."
If someone could tell me where I'm going wrong, it would be much appreciated.

Forrest
Find all posts by this user
Quote this message in a reply
Apr 2, 2014, 08:22
Post: #6
RE: creating new palettesHe
Try having the image open

Apologies, totally mis-read palette for gradient.

This one exactly the same as fluffybunny

http://i.imgur.com/TzFvb1k.jpg

but might help.

You need to
right click in the palettes dialog to bring up the menu
select import
in the dialog select the image, give it a name , click import.

Quote:...or as hexadecimal specifications.

Gimp palette files are text so you can edit them,
Values are R,G,B The first lines of the above

Code:
GIMP Palette
Name: allnew
Columns: 16
#
114 123 247    Untitled (occurs 640)
112 125 252    Untitled (occurs 448)
132 146 231    Untitled (occurs 192)
115 129 252    Untitled (occurs 192)
254  74  35    Untitled (occurs 192)
110 125 253    Untitled (occurs 192)
..............

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Apr 2, 2014, 14:42
Post: #7
RE: creating new palettesHe
No I'm afraid I still can't get anywhere. I see exactly the same "dialog" as you and FluffyBunny have posted and I have tried with the image opened but I still see only black in the "preview" and beneath it: "The selected source contains no colors". I have selected "Image" in the "Select Source" area and the name of the image and the thumbnail appear correctly. When I click on "import" a new palette appears and the palette list with the correct name, but it is all black.

Could this be something to do with the fact that I'm using a Mac (Mountain Lion 10.8.5) and therefore can't "right click"?

Forrest
Find all posts by this user
Quote this message in a reply
Apr 2, 2014, 17:49
Post: #8
RE: creating new palettesHe
(Apr 2, 2014 14:42)flunn Wrote:  ...Could this be something to do with the fact that I'm using a Mac (Mountain Lion 10.8.5) and therefore can't "right click"?

Does this not apply?
http://support.apple.com/kb/PH11366

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Apr 2, 2014, 19:49
Post: #9
RE: creating new palettesHe
(Apr 2, 2014 14:56)ofnuts Wrote:  What kind of image are yo working with? A plain RGB one? Grayscale? Color-indexd (GIF and some PNGs)?

I'm afraid I'm not very good at describing images in these terms!

But I can say that it's a png I had on my desktop and when I import it to GIMP it's "converted to RGB working space (sRGB built in)." (I've also tried with the same image after saving it as an .xcf but that doesn't help.)

Forrest
Find all posts by this user
Quote this message in a reply
Apr 2, 2014, 21:42
Post: #10
RE: creating new palettesHe
Hi,
Sorry to hear you are having issues.
Have you tried using different images?
Could you attach the image that you are having the issue with?
Find all posts by this user
Quote this message in a reply
Apr 3, 2014, 15:44
Post: #11
RE: creating new palettesHe
Thank you Fluffybunny for your latest reply.

I had earlier experimented to some extent with other images and failed with them as well (or so I thought!) but after reading your message I tried again and finally solved the problem.

I discovered that there really was no problem at all. It was just a matter of my not realizing how this feature of GIMP works. The image I had been working on (and the two or three others I'd tried) were screen shots of paintings I'd found on the Google Art project. Although they seemed very bright and colorful to me, in fact a large percentage of the canvas was taken up with very dark tones, and so the resulting "palettes" looked completely black. I took that mistakenly to show that I wasn't successfully creating a new palette.

When, instead of trying to make a palette from the whole painting, I selected one bright area and imported that, the resulting palette was fine.

So thanks again to you and all the others who replied to my question.

Forrest
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Creating BMP images from a layer jgarnold 1 389 Dec 16, 2017 06:38
Last Post: ythgilb
  Creating Templates JasonG 2 499 Jul 24, 2014 20:28
Last Post: JasonG
  creating a header for a blog siilik4 2 490 May 7, 2014 10:55
Last Post: siilik4
  Creating specific size image for slider in Wordpress OldTimer 1 613 May 7, 2014 08:42
Last Post: OldTimer
  Creating game textures sawsrinath 10 1,563 Mar 18, 2014 00:29
Last Post: sawsrinath

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS