The Kotlin image metadata library now comes in v0.5 with support for DNG.
Also it provides a new API that makes it easy to extract the preview image of DNG, CR2, RAF, NEF, ARW and RW2 files.
Please check it out and share your feedback!
https://github.com/Ashampoo/kim