Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Draw an image then convert it to pixels' matrix

$
0
0
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.

Viewing all articles
Browse latest Browse all 13965

Trending Articles