object TransparentJpeg
A lib that saves an ARGB Bitmap separated as RGB an Alpha Chanel in separate jpeg files.
fun combinationExists(dir: File, filename: String, cleanupIfNot: Boolean): Boolean
Check if the RGB and ALPHA channel's exists |
|
fun combineColorWithMask(rgbBitmap: <ERROR CLASS>, maskBitmap: <ERROR CLASS>): <ERROR CLASS>
Load the RGB and ALPHA channel and combine them into one Bitmap. |
|
fun deleteTransparentJpeg(dir: File, filename: String): Unit
Delete the RGB and ALPHA Jpeg. |
|
fun loadTransparentJpeg(dir: File, filename: String): <ERROR CLASS>?
Load the RGB and ALPHA channel and combine them into one Bitmap. |
|
fun saveTransparentJpeg(dir: File, filename: String, glRawBitmap: GlRawBitmap): Boolean
Save ARGB Bitmap in two JPEG files |
infix fun <A> A.andRecycle(b: <ERROR CLASS>): <ERROR CLASS> infix fun <A> A.andRecycle(b: Recyclable): <ERROR CLASS> |
|
fun <T> T.loopAsLongNotNull(block: (it: T) -> T?): T |