Hi,
seems to that you have to swap i and j:Qt Code:
image.setPixel( j, i, pixel );To copy to clipboard, switch view to plain text mode
Lykurg
EDIT: or you must say j<y and i<x.
Hi,
seems to that you have to swap i and j:Qt Code:
image.setPixel( j, i, pixel );To copy to clipboard, switch view to plain text mode
Lykurg
EDIT: or you must say j<y and i<x.
hi,
thank you for the reply.now i got it working.
Bookmarks