[syslinux] syslinux / pxelinux and color palette.
Knut Petter
kpolberg at olberg.name
Wed Mar 5 19:12:01 PST 2008
H. Peter Anvin wrote:
> Knut Petter wrote:
>
>> I'm trying to convert my image so that the colors will remain the same
>> after I do a clear screen. What I would like to make is a palette for
>> gimp which I then could use too convert my images, thus achieving my goal :)
>>
>> I have found a list in which order the colors seems to be arranged.
>>
>> 0 = black 8 = dark grey
>> 1 = dark blue 9 = bright blue
>> 2 = dark green a = bright green
>> 3 = dark cyan b = bright cyan
>> 4 = dark red c = bright red
>> 5 = dark purple d = bright purple
>> 6 = brown e = yellow
>> 7 = light grey f = white
>>
>> What I now need is the color code for each of them(at least I believe
>> this should work, though I'm not sure). If there is some more I should
>> be aware of when attempting to make custom graphics please let me know.
>>
>>
>
> It should probably be pointed out that that applies to text mode... for
> a plain VGA image, you can use any combination of 16 colors (although
> text will be printed using the above colors, by default in color index 7
> on color index 0.)
>
> For vesamenu, you can use any colors you want; it is rendered as a
> 24-bit RGB image.
>
> -hpa
>
Actually I'm trying to get this working with PXE booting, so I guess
vesamenu is out of the picture(unless there is something I have
misunderstood). The problem I'm experiencing is that the picture is
rendered correct if I do not clear the screen. If I do a <FF> it seems
like the colors change into something different. I haven't quite found
out how I'm supposed to correctly index my colors, but I guess gimp
should sort this out for me.
-kpolberg
More information about the Syslinux
mailing list