I released v2.1.0 of my #research oriented #HighDynamicRange image viewer HDRView yesterday. Worked on lots of changes and improvements over the holiday break. Get the deets and binary downloads at the link below.

#hdr, #graphics, #rendering, #openexr, #cgi, #webgl, #macos, #dearimgui,

https://github.com/wkjarosz/hdrview/releases/tag/v2.1.0

Release v2.1.0 路 wkjarosz/hdrview

What's Changed Restored support for writing OpenEXR images, and added reading/writing support for Ultra HDR JPEG images Ultra HDR images will load both the reconstructed HDR image, and include t...

GitHub

And as before, you can also just use the web app by going to https://wkjarosz.github.io/hdrview/

It is magical to be able to load up and compare HDR images on any computer, iPhone, or iPad from a browser!

HDRView

@wjarosz I find myself using the web version quite a lot, thanks! Would it be possible to somehow add support for drag-file-into-it to open?

@aras @wjarosz Seconded! For Spark View I use sokol_app, which makes this very easy:

https://github.com/floooh/sokol-samples/blob/master/sapp/droptest-sapp.c

sokol-samples/sapp/droptest-sapp.c at master 路 floooh/sokol-samples

Sample code for https://github.com/floooh/sokol. Contribute to floooh/sokol-samples development by creating an account on GitHub.

GitHub

@castano @aras @wjarosz this might be a relevant example project (minimal QOI image format viewer):

https://github.com/floooh/qoiview

...hosted web version:

https://floooh.github.io/qoiview/qoiview.html

GitHub - floooh/qoiview: QOI image viewer on top of the Sokol headers

QOI image viewer on top of the Sokol headers. Contribute to floooh/qoiview development by creating an account on GitHub.

GitHub
@castano @aras @wjarosz (tbf though drag-n-drop across web and native is quite a mess, since on the web loading the data is entangled with handling the drop event (that's why sokol_app.h has web-specific IO functions: https://github.com/floooh/sokol/blob/c1cc713a48669fb78c8fadc1a3cb9dd6c3bb97d3/sokol_app.h#L1946-L1949)
sokol/sokol_app.h at c1cc713a48669fb78c8fadc1a3cb9dd6c3bb97d3 路 floooh/sokol

minimal cross-platform standalone C headers. Contribute to floooh/sokol development by creating an account on GitHub.

GitHub
@floooh @castano @aras when switching to dear imgui last year I did look into sokol headers, but ultimately went with hello imgui. I assume these are mutually exclusive, or can I combine them?

@wjarosz @castano @aras the core sokol headers are fairly standalone (e.g. sokol_app.h and sokol_gfx.h don't depend on each other), but the devil might be in the details of course. The imgui renderer sokol_imgui.h sits on top of sokol_gfx.h though.

The drag'n'drop stuff is implemented in sokol_app.h, this forces you into a specific 'application model' though, and from looking at hello imgui doesn't have some of its features (like 'power save mode).

@wjarosz @castano @aras e.g. sokol_app.h is more like a replacement for GLFW or SDL's window system glue functions with a bigger focus on the web platform but fewer features for native platforms).