A vibe coded PWA for creating HDR Gain Map JPEG images.
Access the live version here to process your photos: https://sturmen.github.io/ultrahdr-pwa-svelte/
| HDR | SDR |
|---|---|
Don't think of the "old" HDR, which is totally different.
More information: https://gregbenzphotography.com/hdr/
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 improves the image but does not alter the original nor introduce compatibility issues.
Gain-map generation is handled by GMNet.
npm run test:e2enpm run test:e2e:mobilepython3 scripts/export_gmnet_onnx.py --all-checkpointspython3 scripts/export_gmnet_onnx.py --checkpoint realworldpython3 scripts/export_gmnet_onnx.py --all-checkpoints --skip-paritytorchonnxruntime (required unless --skip-parity is used)Generated artifacts:
public/models/gmnet-realworld.onnx + public/models/gmnet-realworld.onnx.datapublic/models/gmnet-synthetic.onnx + public/models/gmnet-synthetic.onnx.datapublic/models/gmnet-manifest.jsonRuntime options:
gmnetModelVariant: 'realworld' | 'synthetic' selects ONNX model variant (default: 'realworld').