OK you got me a bit closer, thanks. But I am still confused about what the "Format" really means and what the syntax is.
These don't work:
//myFile is a QPixmap
myFile.convertToFormat(3, Qt::MonoOnly);
//or
myFile.convertToFormat(Format_Indexed8, Qt::MonoOnly);
//myFile is a QPixmap
myFile.convertToFormat(3, Qt::MonoOnly);
//or
myFile.convertToFormat(Format_Indexed8, Qt::MonoOnly);
To copy to clipboard, switch view to plain text mode
Compiler says: 'class QPixmap has no member named convertToFormat'
Bookmarks