Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to save the result as LDR image #11

Open
kaishijeng opened this issue Aug 10, 2020 · 2 comments
Open

How to save the result as LDR image #11

kaishijeng opened this issue Aug 10, 2020 · 2 comments

Comments

@kaishijeng
Copy link

Current code saves the result as HDR image. How can I convert to a LDR and save it for display?

Thanks,
Kaishi

@zdfy31220
Copy link

you can use Photomatix to transform .hdr files into visible LDR files.

@sanzgiri
Copy link

sanzgiri commented Sep 25, 2020

You can use psftools or imagmagick to convert the .hdr file to .png.

However, the .png generated using either of those tools is very dark. I have attached the hdr file generated from the test image after conversion to PNG.
image

However, if I open the .hdr file in preview on Mac and export it to PNG, it appears like the example shown in the README.

It would be nice to have an automated way to convert the .hdr "correctly" to .png or other more common formats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants