mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -04:00
Fix missing DCI-P3 color space set
This commit is contained in:
parent
3b1e8f7054
commit
a3049f6740
@ -676,6 +676,9 @@ bool LoadRAW(QImageIOHandler *handler, QImage &img)
|
||||
if (params.output_color == 4) {
|
||||
img.setColorSpace(QColorSpace(QColorSpace::ProPhotoRgb));
|
||||
}
|
||||
if (params.output_color == 7) {
|
||||
img.setColorSpace(QColorSpace(QColorSpace::DisplayP3));
|
||||
}
|
||||
}
|
||||
|
||||
// *** Set the metadata
|
||||
|
Loading…
Reference in New Issue
Block a user