posted 21 years ago
Hi,
i add canvas into mine form and want to draw an image which i read from file. but when i run the program my canvas draws nothing.
this is how i read the image file:
if i do it like this than it draws me something
but if i change generatePixels function like this, i get empty window:
I can't understand what is wrong. I would be really glad if tou helped me