Support Support Home » Vision Libraries » DNG store

xiAPI DNG example


Digital Negative (DNG) is an open raw image format owned by Adobe used for digital photography.
All Adobe photo manipulation software (such as Adobe Photoshop and Adobe Lightroom) support the DNG image format.
The provided library can save RAW data from XIMEA cameras to the .DNG image file format to be used for further processing.
All XIMEA cameras are supported.


Download and install appropriate XIMEA Software Package.
DNG support and example is installed with software package by default.

Sample application

xiSampleDng is located in:
  • Windows - \XIMEA\DNG Store\bin as built application
    \XIMEA\DNG Store\xiSampleDng as source code and Visual Studio project
  • Linux - in /package/examples/xiSampleDng directory as a Makefile project
  • macOS - in examples/xiSampleDng directory as a Makefile project

The sample application will capture an image and process it into monochrome or color DNG, depending on whether the camera can provide color data.
Output image will be saved as test.dng in the demo application project folder.