python-pillow / python-pillow/Pillow
Add support for Ultra HDR
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.8k
- Forks
- 2.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 89
Description
I would like to suggest to add the addition of the Ultra HDR format as a new way to read and write HDR images.
From a technical point of view it's similar to the MPO format, that it's a JPEG image, containing an additional data stream. In case of Ultra HDR this data stream is a gainmap.
This way a reader implementation not aware of Ultra HDR only sees the SDR JPEG image.
There are currently several open enhancement requests to add the format to various well (and less well known) libraries and tools:
There is also a library
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked Android Ultra HDR description, gain-map references, and google/libultrahdr, then compare the request with Pillow's existing MPO handling. Done means Pillow can read and write Ultra HDR JPEGs while preserving the SDR image and gainmap, with both operations covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, python
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100