error: cvCreateMatFromGtkPixbuf

5 views
Skip to first unread message

mahiroo

unread,
Nov 7, 2010, 11:17:37 AM11/7/10
to ctypes-opencv
Hello.
I'm using pyopencv's functoin
"cvCreateMatFromGtkPixbuf(interfaces.py)" to convert from pixbuf to
cvMat.
I met 2 errors, so I'd like to inform them.

1.
x step = pixbuf.get_row_stride() ***line168 in interfaces.py
o step = pixbuf.get_rowstride()

2.
line 170 returns error when "width%4!=0".
Reply all
Reply to author
Forward
0 new messages