Why does libultrahdr use P3 gamut and rec601 rgb2yuv matrix for API-0? #163
-
I'm just curious why did the Encode API-0 use P3 gamut and rec601 rgb2yuv matrix for processing? How does other jpeg decoder library or renderer know which yuv2rgb matrix should be applied for display? I think there should be a problem for non-libultrahdr decoder. In my opinion, it's more reasonable to use sRGB in the whole workflow. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @zhengch01, Thank you for your questions. Re "why did the Encode API-0 use P3 gamut and rec601 rgb2yuv matrix for processing?" Re "How does other jpeg decoder library or renderer know which yuv2rgb matrix should be applied for display?" Please let me know if there is more questions. Thank you! |
Beta Was this translation helpful? Give feedback.
Hi @zhengch01,
Thank you for your questions.
Re "why did the Encode API-0 use P3 gamut and rec601 rgb2yuv matrix for processing?"
This was indeed a bug and is fixed in the latest version.
Re "How does other jpeg decoder library or renderer know which yuv2rgb matrix should be applied for display?"
They should read the ICC package which has the matrix.
Please let me know if there is more questions.
Thank you!