lovell / lovell/sharp

How to get HDR images working with Sharp

Open
#4,263 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
32.7k
Forks
1.4k
Avg merge
1d 14h
Merged PRs (30d)
5

Description

Question about an existing feature

What are you trying to achieve?

Trying to process HDR images and expecting to get correct HDR output

When you searched for similar issues, what did you find that might be related?

Could not find specific issues on it. Only this one: https://github.com/lovell/sharp/issues/2947

Please provide sample image(s) that help explain this question

Original HDR Image
01_base_hdr.jxl.zip

SDR Image
01_base_sdr.jxl.zip

JPEG for that image according to adobe
01

Output from sharp in JPEG:
01_base_hdr jxl-4

Output from sharp in JXL:
01_base_hdr.jxl.zip

Here is the link to download HDR photos directly from ADOBE: https://www.adobe.com/go/gainmap_sample_photos

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached HDR and SDR JXL samples, compare Sharp's JPEG and JXL outputs with the Adobe reference images, and review related issue #2947. Done means the expected HDR output behavior is reproduced or the existing feature's limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.