Draw an image then convert it to pixels' matrix
-
Hi. I'd like to make a simple drawing area in my program, where the user can draw a simple black-and-white objects. After that I need this object in form of boolean pixels' matrix[height][width], where "1" is black pixel and "0 is white. Which widgets should I use? Thank you.
-
Solved my problem with "this":http://qt-project.org/doc/qt-5.0/qtwidgets/widgets-scribble.html example.