- dngOutput
- an Java.IO.OutputStream to write the DNG file to.
- pixels
- an Android.Media.Image to write.
Type Reason Java.IO.IOException if an error was encountered in the output stream. Java.Lang.IllegalArgumentException if an image with an unsupported format was used. Java.Lang.IllegalStateException if not enough metadata information has been set to write a well-formatted DNG file.
Write the pixel data to a DNG file with the currently configured metadata.
For this method to succeed, the Android.Media.Image input must contain Android.Graphics.ImageFormat.RawSensor pixel data, otherwise an Java.Lang.IllegalArgumentException will be thrown.