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 17:37:28 -0500
"Paul Bournival Jr." <paulb foobox com> writes:
inh->width, inh->height, 0, NULL,NULL);
at this point, workbuf is completely black.
I know that the results aren't really going to be correct unless rowstride
is 0, in which case it is here. but I'd at least expect to see *something*
no matter what.
That's just it, rowstride shouldn't be 0. Rowstride is the distance
between the start of each row in the image. So it will always be
greater than or equal to the width. It's separate from width because
you may have padding at the ends of rows.
] [Thread Prev