Use JPEG XT
Kik099 opened this issue · comments
Rodrigo Saraiva commented
Hello and sorry for the bothering. I have checked the readme but still can't understand how can I use the Decoding JPEG XT on a HDR image. Can you help me with that, or give me a hint?
Thanks, Rodrigo Saraiva
scaramallion commented
Does this work?
from libjpeg import decode
arr = decode("path/to/file")
Rodrigo Saraiva commented
Yes it works. We don't need to refer the decode type?
I thought that if we only use the command decode() it would use the predefined type ( ISO/IEC Standard 10918)
And thanks for the help
scaramallion commented
No, the libjpeg backend will determine the correct JPEG type by looking at the codestream passed to it by decode()
.
And thanks for the help
No problem