Hi all,
Reading Qt blogs recently i see a new feature that i hope to see in QImage since a very long time (more than 10 years now), and which has force to write a proper Image framework named DImg to host more than 8 bits per color per pixels in memory.
The main problem is the case where image are high color depth, as with PNG, TIFF, and RAW.
Historically QImage only support RGBA encoded by 8 bits per color per pixels. But with Qt 5.12.0, this have been extended to 16 bits per color per pixels. See the QImage documentation and especially the format section (look well the ID 25, 26, and 27):
This is not perfect as DImg has more features than QImage dedicated to photo, as color management for ex, but these new storage formats in QImage open new doors to simplify DImg in the future. For ex, we can simply derivate DImg from QImage and extend image loader using QImage plugins.
Also, we can dream about others storage format for the future, as a native float encoding values for HDR images support.
VoilĂ .
Gilles Caulier