OutputMode

Output mode of binarization filter.

Entries

Link copied to clipboard

BINARY - Black and white image, suitable for 1-bit compression.

Link copied to clipboard

ANTIALIASED - When the source image is a document photo, this mode will produce nice, smooth, antialiased text in grayscale, which is typically more readable than the text in BINARY mode. Antialiasing requires extra processing, which makes this mode slower than BINARY mode.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun toJson(): String
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.