TransparentJpeg

A lib that saves an ARGB Bitmap separated as RGB an Alpha Chanel in separate jpeg files.

object TransparentJpeg

Functions

combinationExists
Link copied to clipboard

Check if the RGB and ALPHA channel's exists

fun combinationExists(dir: File, filename: String, cleanupIfNot: Boolean): Boolean
combineColorWithMask
Link copied to clipboard

Load the RGB and ALPHA channel and combine them into one Bitmap.

fun combineColorWithMask(rgbBitmap: <ERROR CLASS>, maskBitmap: <ERROR CLASS>): <ERROR CLASS>
deleteTransparentJpeg
Link copied to clipboard

Delete the RGB and ALPHA Jpeg.

fun deleteTransparentJpeg(dir: File, filename: String)
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
loadTransparentJpeg
Link copied to clipboard

Load the RGB and ALPHA channel and combine them into one Bitmap.

fun loadTransparentJpeg(dir: File, filename: String): <ERROR CLASS>?
saveTransparentJpeg
Link copied to clipboard

Save ARGB Bitmap in two JPEG files

fun saveTransparentJpeg(dir: File, filename: String, glRawBitmap: GlRawBitmap): Boolean
toString
Link copied to clipboard
open override fun toString(): String