Hi, Christopher Andrew Chenery <[EMAIL PROTECTED]> writes:
> My Question is simply why are there two extra bytes per image row, what do > they represent and what is a rowstride? - the documentation assumes this > knowledge! rowstride is the number of bytes you need to skip to get to the same column in the next row. The reason that this is not equal to width * bpp is simply that memory is most efficiently accessed on word boundaries. For this reason, GdkPixbuf (and other libraries that deal with pixel graphics), assure that pixel rows start on word boundaries. The extra two bytes you see are just for padding and you should never access them. Salut, Sven _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list