Re: usage of gdk_pixbuf_scale_simple ?
- From: Havoc Pennington <hp redhat com>
- To: paulb foobox com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: usage of gdk_pixbuf_scale_simple ?
- Date: 18 Feb 2001 22:13:13 -0500
"Paul Bournival Jr." <paulb foobox com> writes:
okay; so gdk_pixbuf_new_from_data doesn't compute an optimal rowstride;
I guess this could be construed as a bug.
No, how can it compute the optimal rowstride for preexisting data. ;-)
The data already has an existing rowstride which you determined when
you created the data.
so I'll use gdk_pixbuf_new, which the documentation says does compute
a proper rowstride.
Because gdk_pixbuf_new() creates a new buffer instead of using the
preexisting one, so can pick any rowstride it likes.
I still get the same thing; black image. I do note that the rowstride
for both images is fine; something like 2160 for src and 1000 for dest.
Is there anything else I might be missing?
I don't see anything else wrong with the pixbuf code offhand.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]