Output: write HDR FITS with camera metadata

This commit is contained in:
wyj committed 2026-08-28 19:56:07 -04:00
1 parent 5fd8e3819d
commit d5d21c7659
5 files changed
+92 -28

No files matched your search

+3 -2
View File
@@ -51,8 +51,9 @@ int splat_moffat_cached(double *hdr, int width, int height, double x, double y,
int write_tonemapped_image(const char *path, const double *hdr, int width,
int height);
#ifdef ENABLE_HDR_DEBUG
/* Test-build-only: writes the pre-tone-mapping framebuffer as RGB float PFM. */
int write_hdr_pfm(const char *path, const double *hdr, int width, int height);
/* Test-build-only: writes the pre-tone-mapping framebuffer as 32-bit RGB FITS. */
int write_hdr_fits(const char *path, const double *hdr, int width, int height,
double horizontal_fov_deg);
#endif
#endif