Skip to content

🔆 High Dynamic Range image support for the web. (HTML, canvas & webGL) Used for HDR support in the official Khronos glTF examples.

License

Notifications You must be signed in to change notification settings

enkimute/hdrpng.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hdrpng.js - HDR images for the web.

A small (7122 bytes) script to add support for radiance HDR and RGBE PNG images to your browser.

  • Loading Radiance .HDR files. (rgbe format)
  • Loading/Saving 32bit RGBE.PNG files.
  • Loading/Saving 32bit RGB9_E5.PNG files.
  • Converting RGBE, RGB9_E5 or float to LDR (with exposure and gamma tonemap)
  • Converting from and to RGBE, RGB9_E5 and float.
  • Interfaces like normal images. (can be added to document, used as texture, on canvas, ..)

Info, Help & Live Sample at https://enkimute.github.io/hdrpng.js

About

🔆 High Dynamic Range image support for the web. (HTML, canvas & webGL) Used for HDR support in the official Khronos glTF examples.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published