Hi,
[EMAIL PROTECTED] writes:
> 2. Some XPM files have 6 byte color codes instead of the (normal)
> 3 byte (#RRGGBB), what do those 6 byte color codes represent/mean?
GDK uses 2 bytes per color channel internally. The GdkColor struct is
defined as
struct _GdkColor
{
gulong pixel;
gushort red;
gushort green;
gushort blue;
};
where red, green and blue represent values in the range of 0-65535.
gdk_color_parse() hides these details from you and can parse 3 byte
as well as 6 byte color notations (and a few other formats).
> 3. Does anyone know any Windows(!) programs (freeware/shareware
> preferred) that allow to convert BMP or GIF of JPG to XPM files?
The GIMP ?! http://www.gimp.org/win32/
Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list