Java android.media.effect EffectFactory fields, constructors, methods, implement or subclass

Example usage for Java android.media.effect EffectFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.media.effect EffectFactory.

The text is from its open source code.

Field

StringEFFECT_BRIGHTNESS

Adjusts the brightness of the image.

Available parameters:

Parameter nameMeaningValid values
brightness The brightness multiplier. Positive float.
StringEFFECT_CONTRAST

Adjusts the contrast of the image.

Available parameters:

Parameter nameMeaningValid values
contrast The contrast multiplier. Float.
StringEFFECT_FISHEYE

Applies a fisheye lens distortion to the image.

Available parameters:

Parameter nameMeaningValid values
scale The scale of the distortion. Float, between 0 and 1.
StringEFFECT_AUTOFIX

Attempts to auto-fix the image based on histogram equalization.

Available parameters:

Parameter nameMeaningValid values
scale The scale of the adjustment. Float, between 0 and 1.
StringEFFECT_BLACKWHITE

Adjusts the range of minimal and maximal color pixel intensities.

Available parameters:

Parameter nameMeaningValid values
black The value of the minimal pixel. Float, between 0 and 1.
white The value of the maximal pixel. Float, between 0 and 1.
StringEFFECT_CROSSPROCESS

Applies a cross process effect on image, in which the red and green channels are enhanced while the blue channel is restricted.

Available parameters: None

StringEFFECT_DOCUMENTARY

Applies black and white documentary style effect on image..

Available parameters: None

StringEFFECT_DUOTONE

Representation of photo using only two color tones.

Available parameters:

Parameter nameMeaningValid values
first_color The first color tone. Integer, representing an ARGB color with 8 bits per channel.
StringEFFECT_FILLLIGHT

Applies back-light filling to the image.

Available parameters:

Parameter nameMeaningValid values
strength The strength of the backlight. Float, between 0 and 1.
StringEFFECT_FLIP

Flips image vertically and/or horizontally.

Available parameters:

Parameter nameMeaningValid values
vertical Whether to flip image vertically. Boolean
horizontal Whether to flip image horizontally. Boolean
StringEFFECT_GRAIN

Applies film grain effect to image.

Available parameters:

Parameter nameMeaningValid values
strength The strength of the grain effect. Float, between 0 and 1.
StringEFFECT_GRAYSCALE

Converts image to grayscale.

Available parameters: None

StringEFFECT_LOMOISH

Applies lomo-camera style effect to image.

Available parameters: None

StringEFFECT_NEGATIVE

Inverts the image colors.

Available parameters: None

StringEFFECT_POSTERIZE

Applies posterization effect to image.

Available parameters: None

StringEFFECT_ROTATE

Rotates the image.

StringEFFECT_SATURATE

Adjusts color saturation of image.

Available parameters:

Parameter nameMeaningValid values
scale The scale of color saturation. Float, between -1 and 1.
StringEFFECT_SEPIA

Converts image to sepia tone.

Available parameters: None

StringEFFECT_SHARPEN

Sharpens the image.

Available parameters:

Parameter nameMeaningValid values
scale The degree of sharpening. Float, between 0 and 1.
StringEFFECT_TEMPERATURE

Adjusts color temperature of the image.

Available parameters:

Parameter nameMeaningValid values
scale The value of color temperature. Float, between 0 and 1, with 0 indicating cool, and 1 indicating warm.
StringEFFECT_TINT

Tints the photo with specified color.

Available parameters:

Parameter nameMeaningValid values
tint The color of the tint. Integer, representing an ARGB color with 8 bits per channel.
StringEFFECT_VIGNETTE

Adds a vignette effect to image, i.e.

Method

EffectcreateEffect(String effectName)
Instantiate a new effect with the given effect name.


HOME | Copyright © www.java2s.com 2016