Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
What would be the best way to convert an image of ARGB32 to color table.
EX: #00000000 -> 1 #000000FF -> 2 #0000FF11 -> 3
Hi,
You can check how it's done for the QImage::Format_Indexed8 format and adapt it to 32bit.
QImage::Format_Indexed8