Hello,
My questions are fast and simple ^^
1a) Is there any way to fill a QPixmap from 3 unsigned shorts arrays (Each pixel has 16 bits per channel)? Of course i'm not talking of iterating on each pixel with a QPainter, doing a setPen with my 3 channels colors, and then a drawPoint on the QPixmap, since it's way too slow...
1b) Each of my channel can have a value between 0 and 65535 (16 bits). So i'm talking about a very "fast conversion copy", changing from 16 bits in original to 8 in the QPixmap.
1c) If the answer is clearly no, does the same question but with shorts instead of unsigned shorts have another answer? ^^
Telling me to "change to 8 bits per channel because the human eye only perceive N colors" is not an answer for me, since it's not related to human eye but to medical images processment... 16 bits per channel i have no choice ^^
2) Also, i have read somewhere that a QPixmap is limited in size to 2000x2000 pixels... Is it true? If yes, is there a workaround for this, knowing i'm using the QPixmap in a QGraphicsView linked to a QGraphicsScene?
Thanks for your answers.
Pierre.
Bookmarks