Re: GdkPixbuf pixel data weirdness



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]