Udostępnij za pośrednictwem


DngCreator(CameraCharacteristics, CaptureResult) Constructor

Definition

Create a new DNG object.

[Android.Runtime.Register(".ctor", "(Landroid/hardware/camera2/CameraCharacteristics;Landroid/hardware/camera2/CaptureResult;)V", "")]
public DngCreator (Android.Hardware.Camera2.CameraCharacteristics characteristics, Android.Hardware.Camera2.CaptureResult metadata);
[<Android.Runtime.Register(".ctor", "(Landroid/hardware/camera2/CameraCharacteristics;Landroid/hardware/camera2/CaptureResult;)V", "")>]
new Android.Hardware.Camera2.DngCreator : Android.Hardware.Camera2.CameraCharacteristics * Android.Hardware.Camera2.CaptureResult -> Android.Hardware.Camera2.DngCreator

Parameters

characteristics
CameraCharacteristics

an object containing the static android.hardware.camera2.CameraCharacteristics.

metadata
CaptureResult

a metadata object to generate tags from.

Attributes

Remarks

Create a new DNG object.

It is not necessary to call any set methods to write a well-formatted DNG file.

DNG metadata tags will be generated from the corresponding parameters in the android.hardware.camera2.CaptureResult object.

For best quality DNG files, it is strongly recommended that lens shading map output is enabled if supported. See CaptureRequest#STATISTICS_LENS_SHADING_MAP_MODE.

Java documentation for android.hardware.camera2.DngCreator.DngCreator(android.hardware.camera2.CameraCharacteristics, android.hardware.camera2.CaptureResult).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to