----- Original Message ---- From: "Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum" 10353@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Thu, January 28, 2010 10:05:04 AM Subject: Re: -x pv
Well, one of the points with pv is that is uses the image codecs in Pike. If you let GDK decode the image, it will
A) not be able to display pictures supported by Image but not by GDK B) not be useful when developing new codecs for Pike
---------------
Okay, I can see that. I'll see what I can do.
The problem I'm sort of having so far is that some of the stuff from gtk1 doesn't translate over to gtk2 well, like GdkImage is deprecated. GdkPixbuf is the new thing to use, but I'm not sure that encode colors routines (in gdkimage_from_pikeimage in support.c) is necessary, and if so, it needs to be translated to use GtkImage or GdkPixbuf instead.
I'll do some more research.