-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Finlay wrote:
| William R. Dieter wrote:

|> ~        pm.draw_rgb_image(gc, 5, 5, 64, 64, gtk.gdk.RGB_DITHER_NONE,
|> ~                          imbuf, 64*64*3)
|
|
| last param should be 64*3 its the length of one row (rowstride)
|
|
http://www.pygtk.org/pygtk2reference/class-gdkdrawable.html#method-gdkdrawable--draw-rgb-image


Doh! That fixed it. That's what I get for coding on too little sleep. ~ I was thinking byte count.

Thanks again,
Bill.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAfsf8K+wEHl1gwlQRAsJhAJ9Z+q5t8Xl6fL2CGNXRThoURCY0swCeIy9Z
u5zggG9diW8cVbqnhPXAtTI=
=sSwy
-----END PGP SIGNATURE-----
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to