Re: GdkPixbuf pixel data weirdness
- From: Evan Martin <martine cs washington edu>
- To: Chris Garrett <garrett91 hotmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GdkPixbuf pixel data weirdness
- Date: Sun, 9 Mar 2003 19:04:43 -0800
On Sun, Mar 09, 2003 at 09:31:38PM +0000, Chris Garrett wrote:
I changed the size of the pixbuf and things went pearshaped. When the
width of the pixbuf is a multiple of 4, it works (20, 24, 28...). With any
other width, its as though I have offset the data somehow - the pixbuf
appears striped and the border comes in diagonally.
Looks like a rowstride problem. Look for "rowstride" in the docs.
--
Evan Martin
martine cs washington edu
http://neugierig.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]