Udostępnij za pośrednictwem


Gainmap(Bitmap) Constructor

Definition

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