Repository navigation
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. |
Answered by
DichenZhang1
Jun 20, 2024
Replies: 1 comment 2 replies
|
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! |
2 replies
Answer selected by
zhengch01
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!