mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-06-03 17:08:08 -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) {
|
if (params.output_color == 4) {
|
||||||
img.setColorSpace(QColorSpace(QColorSpace::ProPhotoRgb));
|
img.setColorSpace(QColorSpace(QColorSpace::ProPhotoRgb));
|
||||||
}
|
}
|
||||||
|
if (params.output_color == 7) {
|
||||||
|
img.setColorSpace(QColorSpace(QColorSpace::DisplayP3));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// *** Set the metadata
|
// *** Set the metadata
|
||||||
|
Loading…
x
Reference in New Issue
Block a user