I am expecting to get the same data I entered before as I extract them using QImage::bits()!
Actually I build a pixmap from this image and obviously the pixmap is wrong!
That is the reason I checked which data I get from the image and discovered data have been altered during their storage in QImage. So probably this is a normal behaviour but at least:
- I would like to understand this behaviour,
- I would like to know how to create a false color image from a list of color table indexes.
Bookmarks