aboutsummaryrefslogtreecommitdiff
path: root/lib/src/jpegr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/jpegr.cpp')
-rw-r--r--lib/src/jpegr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/src/jpegr.cpp b/lib/src/jpegr.cpp
index 1283cbf..14e727f 100644
--- a/lib/src/jpegr.cpp
+++ b/lib/src/jpegr.cpp
@@ -720,6 +720,8 @@ status_t JpegR::decodeJPEGR(jr_compressed_ptr jpegr_image_ptr, jr_uncompressed_p
dest->height = jpeg_dec_obj_yuv420.getDecompressedImageHeight();
memcpy(dest->data, jpeg_dec_obj_yuv420.getDecompressedImagePtr(),
dest->width * dest->height * 4);
+ dest->colorGamut = IccHelper::readIccColorGamut(jpeg_dec_obj_yuv420.getICCPtr(),
+ jpeg_dec_obj_yuv420.getICCSize());
return JPEGR_NO_ERROR;
}