ASE
Types
Link copied to clipboard
open class AseBitmapCell(val bmp: Bitmap, val x: Int, val y: Int, val opacity: Int) : ASE.AseEntity, ASE.AseCell
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class AseLayer(val originalAseIndex: Int, var index: Int, val name: String, val flags: Int, val type: ImageLayer.Type, val childLevel: Int, val blendModeInt: Int, val opacity: Int, val tilesetIndex: Int) : ImageLayer, ASE.AseEntity
Link copied to clipboard
open class AseLayerCell(val frameIndex: Int, val layer: ASE.AseLayer, val cell: ASE.AseCell) : ASE.AseEntity
Link copied to clipboard
open class AseLinkedCell(val linkedCell: ASE.AseCell, val x: Int, val y: Int, val opacity: Int) : ASE.AseEntity, ASE.AseCell
Link copied to clipboard
open class AsePalette(val colors: RgbaArray, val names: Array<String?>? = null, val changeStart: Int = 0, val changeEnd: Int = 0) : Palette, ASE.AseEntity
Link copied to clipboard
open class AseTilemapCell(val data: IntArray2, val tileBitmask: Int, val bitmaskXFlip: Int, val bitmaskYFlip: Int, val bitmask90CWFlip: Int, val x: Int, val y: Int, val opacity: Int) : ASE.AseEntity, ASE.AseCell
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Decodes a given data byte array to a bitmap based on the image format with optional extra prop properties.
Link copied to clipboard
Link copied to clipboard
suspend fun decodeHeaderSuspend(file: VfsFile, props: ImageDecodingProps = ImageDecodingProps.DEFAULT): ImageInfo?
open suspend fun decodeHeaderSuspend(s: AsyncStream, props: ImageDecodingProps = ImageDecodingProps.DEFAULT): ImageInfo?
Link copied to clipboard
Link copied to clipboard
fun encode(frames: List<ImageFrame>, props: ImageEncodingProps = ImageEncodingProps("unknown")): ByteArray
Link copied to clipboard
open suspend override fun encodeSuspend(image: ImageDataContainer, props: ImageEncodingProps): ByteArray
Link copied to clipboard
suspend fun ImageFormatEncoder.encodeSuspend(bitmap: Bitmap, props: ImageEncodingProps = ImageEncodingProps("unknown")): ByteArray
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This function reads the Aseprite image file, decodes its content and stores selected details into an ImageDataContainer object.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard