Hi Tommy,
I loaded the image using QImage::load(), and then I pass it to a ansi C library for manipulation. I know that in most cases, you can treat the bits() function as something similar to this:Qt Code:
dword picture[SIZE_Y][SIZE_Y] ;To copy to clipboard, switch view to plain text mode
It will fail sometimes. Be warned (at least in MACs). If you want to review my code, here it is: http://code.google.com/p/qhocr/
Bookmarks