AndroidCoreImage

class AndroidCoreImage(val bitmap: Bitmap) : CoreImage

Constructors

Link copied to clipboard
constructor(bitmap: Bitmap)

Properties

Link copied to clipboard
Link copied to clipboard
open override val bpp: Int

Bits per pixel

Link copied to clipboard
open override val height: Int

height of the image

Link copied to clipboard
open override val native: Any

Native object. Like IntArray for CoreImage32 or BufferedImage

Link copied to clipboard
open override val premultiplied: Boolean

Determine if the pixels are premultiplied by its alpha

Link copied to clipboard
open override val width: Int

width of the image

Functions

Link copied to clipboard
suspend fun CoreImage.encodeBytes(format: CoreImageFormat, level: Double = 1.0): ByteArray

Encodes a CoreImage into a ByteArray in the specified format (PNG, JPEG, etc.)

Link copied to clipboard

Provides information about an image.

Link copied to clipboard
open override fun to32(): CoreImage32

Returns a CoreImage32 image

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard