Toot

Written by Wojciech Jarosz on 2025-01-13 at 20:21

@floooh @castano @aras The development version now supports drag and drop to open images in the browser: https://wkjarosz.github.io/hdrview/dev/

Thanks @floooh for the tips, and @aras for the feature request

Side note: I don’t know if this is an issue with my setup, or if emscripten has updated how it operates since you did this @floooh , but I wasn’t able to get the “array” parameter type to work (even though emscripten’s documentation lists it). But once I switched it to just pass the buffer pointer as a “number” (like how emscripten_browser_file does it), it all worked fine (plus I’m passing it on the heap instead of the stack since the images may be quite big).

=> More informations about this toot | View the thread | More toots from wjarosz@mathstodon.xyz

Mentions

=> View floooh@mastodon.gamedev.place profile | View castano@mastodon.gamedev.place profile | View aras@mastodon.gamedev.place profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113822905897446112
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
224.3856 milliseconds
Gemini-to-HTML Time
0.786988 milliseconds

This content has been proxied by September (3851b).