How To Take RAW DNG Images with Plug-in Camera API

This tip contributed by @Kasper after much hard work on his part working on development for Authydra.

The RICOH Plug-in API provides this:

It’s at the bottom of this link:

https://api.ricoh/docs/theta-plugin-reference/camera-api/

Unfortunately, the above setting alone does not appear to produce the DNG file. If someone gets it to work, let us know!

What Kasper found out is that you also need to set this:

params.set("rawsave-mode", 1);
  • there is a file created in DCIM/0/temp.dng
  • you can copy and rename that file to obtain the dng file.
  • the dng is not stitched.

If someone is using a different technique to get the DNG file with the Camera API, please post your technique here.