Re: dynamically changing xpm color

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2004-09-21 at 16:39 +0200, Marco Lettere wrote:
> Hello,
> what is the safest and cleanest way to dynamically change (for example 
> through ColorChooser) the palette colors of a displayed xpm using 
> gtk/gdk-pixbuf?

Load it as a GdkPixbuf, walk through the pixels of the GdkPixbuf
and change them. The named color feature of XPM has never been
supported by the GDK XPM loading code.

Regards,
						Owen

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux