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

Re: scaling a GdkImage



David Cooke <d.j.cooke@lineone.net> writes: 
>  >I'd sort of like to see a routine that combined scaling and
>  >get_from_drawable() (avoiding the temporary pixbuf and just creating
>  >the scaled one to begin with), but it sure would be a world of pain to
>  >implement and debug.
> 
> Doesn't gdk_pixbuf_get_from_drawable() start by getting the GdkImage ?
> The GdkImage  could be scaled before converting to RGB :-)

Right, that's the idea. But it's a nightmare to implement.  Just
converting the darn thing to RGB is already pretty awful.

Havoc



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