[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: scaling a GdkImage
- From: Havoc Pennington <hp redhat com>
- To: David Cooke <d j cooke lineone net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: scaling a GdkImage
- Date: 29 Apr 2002 21:41:46 -0400
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]