Hello!
In QImage class we have function bits() witch is overloaded:
uchar * bits ()
const uchar * bits () const
uchar * bits ()
const uchar * bits () const
To copy to clipboard, switch view to plain text mode
My problem is that when I want to call uchar * bits () function, just like that:
uchar *bitsImage = image.bits();
uchar *bitsImage = image.bits();
To copy to clipboard, switch view to plain text mode
I'm getting an error:
error: invalid conversion from 'const uchar*' to 'uchar*'
So I would like to ask how I can call the uchar * bits () function?
Best regards
s410i
Bookmarks