Skip to content

Is HDR Image Encoding Supported? #7

@dandyweng

Description

@dandyweng

I tried encoding a HDR image with the Rec. ITU-R BT.2100 PQ color profile, but after encoding, the image is no longer HDR. The README mentions HDR support but doesn’t explicitly say it’s for encoding or decoding. Does this library fully support HDR encoding?

print("before: \(image.isHighDynamicRange)") // true
let data = try JXLCoder.encode(image: image)
let newImage = try JXLCoder.decode(data: data)
print("after: \(newImage.isHighDynamicRange)") // false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions