RSS/Atom feed Twitter
Site is read-only, email is disabled

GIMP's "EGA" default palette (fwd)

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

GIMP's "EGA" default palette (fwd) Bodo Eggert 12 Sep 14:03
  GIMP's "EGA" default palette (fwd) Richard 13 Sep 02:17
Bodo Eggert
2015-09-12 14:03:49 UTC (about 9 years ago)

GIMP's "EGA" default palette (fwd)

Date: Tue, 8 Sep 2015 10:21:58 -0300 From: "Joao S. O. Bueno"
To: Richard
Cc: "gimp-user-list@gnome.org"
Subject: Re: [Gimp-user] GIMP's "EGA" default palette Message-ID:

Content-Type: text/plain; charset=UTF-8

On 7 September 2015 at 03:22, Richard wrote:

Are we talking EGA as in https://en.wikipedia.org/wiki/Enhanced_Graphics_Adapter ? Or am I missing something important? What is this palette, anyway?

Yes.
So, as the name says, it has the 16 colors taht were hardcoded in the firmware for those adapters. That is not useful for anything today, but for having 16 highly distinguished colors - and there is the historical fun aspect of it,as you found out.

Date: Tue, 8 Sep 2015 20:18:38 -0700 From: Richard
To: "Joao S. O. Bueno"
Cc: "gimp-user-list@gnome.org"
Subject: Re: [Gimp-user] GIMP's "EGA" default palette Message-ID:
Content-Type: text/plain; charset="iso-8859-1"

Thanks. I have never heard that before (and so far am unable to find any citations about it).

Now at the same time, clearly this is not the set of 16 colors by which EGA is most commonly known. Shouldn't we have a palette for that? ;)

I missed some postings, but I have documentation about EGA cards.

The colors were from a palette of 64 colors, with each bit corresponding to a separate wire. Low-intensity colors have a high

https://en.wikipedia.org/wiki/List_of_monochrome_and_RGB_palettes#6-bit_RGB

The 16 default CGA colors were mapped to the EGA color values 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f (everything like CGA, where only one high intensity bit was available, except for brown, because 0x06 looked bad on some screens)

The VGA cards will emulate these 64 colors by having default 6-bit color values in their 256 color registers. The high bit corresponds to 0x15, the low bit to 0x2a, giving a total of 0x3f (white). For 8 bits, I'll use 0x55 and 0xAA for a corresponding appearance. E.g. the brown (0x14) is green (0x10->#005500) + dark red (0x40->#aa0000) -> #aa5500.

EGA Color 8-bit 0x20 = dark red, #550000
0x10 = dark green #005500
0x08 = dark blue #000055
(0x38 = dark gray, emulates the CGA intensity bit) 0x04 = bright red #aa0000
0x02 = bright green #00aa00
0x01 = bright blue #0000aa

--- The VGA 256-color-default-palette is yet something different, available on http://objectmix.com/graphics/383737-vga-palette.html (to convert to 8 bit, left-shift by 2 and add the lower 2 bits)

HTH

Richard
2015-09-13 02:17:58 UTC (about 9 years ago)

GIMP's "EGA" default palette (fwd)

Date: Sat, 12 Sep 2015 16:03:49 +0200 From: 7eggert@online.de
To: gimp-user-list@gnome.org
Subject: Re: [Gimp-user] GIMP's "EGA" default palette (fwd)

Date: Tue, 8 Sep 2015 10:21:58 -0300 From: "Joao S. O. Bueno"
To: Richard
Cc: "gimp-user-list@gnome.org"
Subject: Re: [Gimp-user] GIMP's "EGA" default palette Message-ID:

Content-Type: text/plain; charset=UTF-8

Thanks. I have never heard that before (and so far am unable to find any citations about it).

> Now at the same time, clearly this is not the set of 16 colors by which EGA is most commonly known. Shouldn't we have a palette for that? ;)

I missed some postings, but I have documentation about EGA cards.

The colors were from a palette of 64 colors, with each bit corresponding to a separate wire. Low-intensity colors have a high

https://en.wikipedia.org/wiki/List_of_monochrome_and_RGB_palettes#6-bit_RGB

[ . . . ]

I have already read through that article (plus a few others on the matter).

And it only took a few minutes to set up my own .gpl palette with the 16- and 64-color CGA/EGA palettes, before I originally posted the question.

I still wonder about the peculiar choice of hues in ega.gpl (yes you did cover that already, I just haven't found anything to corroborate it) ... but for now I think to avoid personal confusion I'll just drop that default palette from my GIMP setup.

-- Stratadrake strata_ranger@hotmail.com
--------------------
Numbers may not lie, but neither do they tell the whole truth.