-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
5.7.0 Alpha
-
None
Currently 10-bit per color channels images can be rendered to and from, but internally the raster engine will still use 8-bit per color channel and only the OpenGL paint engine is able to render in full precision if supported by the OpenGL driver.
This suggestion is about adding support also for raster engine and for all the related classes e.g. QColor etc.
Example code snippets that should be able to use 10bit colors:
editorPatchColor = QColor(); QPalette palette; palette.setColor(this->backgroundRole(), editorPatchColor); this->setPalette(palette); (…) or setEditorPatchColor(QColor newColor) { (…) editorPatch->setStyleSheet(QString::fromUtf8("background-color: rgb(%1,%2, %3);").arg((short)newColor.red()).arg((short)newColor.green()).arg((short)newColor.blue())); (…)