New storage format introduced with QImage 5.12.0...
Gilles Caulier
caulier.gilles at gmail.com
Wed Jan 2 16:54:22 GMT 2019
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):
http://doc.qt.io/qt-5/qimage.html#Format-enum
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20190102/ab6f765c/attachment.html>
More information about the Digikam-devel
mailing list