Got the answer:
Qt Code:
qDebug()<<image.colorTable().size();/*!< "2" -> white & black */ image.setColor(0,Qt::transparent);/*!< Black -> transparent*/ image.setColor(1,qRgb(255,0,0));/*!< White-> red*/To copy to clipboard, switch view to plain text mode
Sorry for bothering you.
Kacper
Bookmarks