RawDevJS browser interface.
Renders DNG files into HTML
Just load the built
rawdevjs.js file in your HTML:
It will search for all
div elements with the class
div element must contain a
data-src attribute which points to a DNG file.
The DNG will be fetched and rendered as PNG into a blob URL.
img element will be attached to the
div element which points to the blob URL.
npm run build to build the example.
Copy all files in the folder
.build to a web server and load the
index.html in your browser.
For example http-server can be used.
If the package is installed global just run:
http-server .build and open http://localhost:8080/ in your browser.