ultrahdr-pwa-svelte
A vibe coded PWA for creating HDR Gain Map JPEG images. Should work on most (all?) desktop web browers.
Instructions
Access the live version here to process your photos: https://sturmen.github.io/ultrahdr-pwa-svelte/
What is HDR?
Don't think of the "old" HDR, which is totally different.
More information: https://gregbenzphotography.com/hdr/
Scope
This is an attempt at a cross-platform way to enhance SDR images into the widely-compatible JPEGR (aka UltraHDR JPEG, aka JPEG with a gain map) format. The goal is that users may have an SDR image that they enjoy, and they use this progressive web app to add an enhancement layer that does not alter the original nor introduce compatibility issues.
Features
- Free and open source (MIT license)
- Completely local processing. No cloud costs, or any costs at all
- Cross-platform support across web browsers. Tested with Chrome 142, Safari 26.1, and Firefox 145 (no HDR preview in Firefox)
- Batch support
- Rotation support
- EXIF preservation
- Configurable HDR headroom
Drawbacks
- Vibe-coded with Antigravity, so no one knows how it works
- Naive enhancement algorithm
Roadmap
- Improve preservation of HEIC input gain maps rather than generating a new one
How you can help
- Improve iOS Safari (and other memory-constrained environments) support
- Create and implement a better gain map algorithm
- Create and implement a way to up-map the color gamut from sRGB to P3
- General improvements (testing, code organization, etc)
- Update libultrahdr-wasm to support ISO 21496-1 (rebase on libultrahdr v1.4.0)
Special thanks