Gainmap Constructors

Definition

Overloads

Gainmap(Bitmap)

Creates a gainmap from a given Bitmap.

Gainmap(Gainmap, Bitmap)

Creates a new gainmap using the provided gainmap as the metadata source and the provided bitmap as the replacement for the gainmapContents

Gainmap(Bitmap)

Creates a gainmap from a given Bitmap.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Bitmap;)V", "", ApiSince=34)]
public Gainmap (Android.Graphics.Bitmap gainmapContents);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Bitmap;)V", "", ApiSince=34)>]
new Android.Graphics.Gainmap : Android.Graphics.Bitmap -> Android.Graphics.Gainmap

Parameters

gainmapContents
Bitmap
Attributes

Remarks

Creates a gainmap from a given Bitmap. The caller is responsible for setting the various fields to the desired values. The defaults are as follows: <ul> <li>Ratio min is 1f, 1f, 1f</li> <li>Ratio max is 2f, 2f, 2f</li> <li>Gamma is 1f, 1f, 1f</li> <li>Epsilon SDR is 0f, 0f, 0f</li> <li>Epsilon HDR is 0f, 0f, 0f</li> <li>Display ratio SDR is 1f</li> <li>Display ratio HDR is 2f</li> </ul> It is strongly recommended that at least the ratio max and display ratio HDR are adjusted to better suit the given gainmap contents.

Java documentation for android.graphics.Gainmap.Gainmap(android.graphics.Bitmap).

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

Gainmap(Gainmap, Bitmap)

Creates a new gainmap using the provided gainmap as the metadata source and the provided bitmap as the replacement for the gainmapContents

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Gainmap;Landroid/graphics/Bitmap;)V", "", ApiSince=35)]
public Gainmap (Android.Graphics.Gainmap gainmap, Android.Graphics.Bitmap gainmapContents);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Gainmap;Landroid/graphics/Bitmap;)V", "", ApiSince=35)>]
new Android.Graphics.Gainmap : Android.Graphics.Gainmap * Android.Graphics.Bitmap -> Android.Graphics.Gainmap

Parameters

gainmap
Gainmap
gainmapContents
Bitmap
Attributes

Remarks

Creates a new gainmap using the provided gainmap as the metadata source and the provided bitmap as the replacement for the gainmapContents

Java documentation for android.graphics.Gainmap.Gainmap(android.graphics.Gainmap, android.graphics.Bitmap).

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