Re: dynamically changing xpm color

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.


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

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