class TransparentJpeg
A lib that saves an ARGB Bitmap separated as RGB an Alpha Chanel in separate jpeg files.
static fun combinationExists(dir: java.io.File, filename: java.lang.String, cleanupIfNot: boolean): boolean
Check if the RGB and ALPHA channel's exists |
|
static fun combineColorWithMask(rgbBitmap: Bitmap, maskBitmap: Bitmap): Bitmap
Load the RGB and ALPHA channel and combine them into one Bitmap. |
|
static fun deleteTransparentJpeg(dir: java.io.File, filename: java.lang.String): void
Delete the RGB and ALPHA Jpeg. |
|
static fun loadTransparentJpeg(dir: java.io.File, filename: java.lang.String): Bitmap
Load the RGB and ALPHA channel and combine them into one Bitmap. |
|
static fun saveTransparentJpeg(dir: java.io.File, filename: java.lang.String, bitmap: Bitmap): boolean static fun saveTransparentJpeg(dir: java.io.File, filename: java.lang.String, glRawBitmap: GlRawBitmap): boolean
Save ARGB Bitmap in two JPEG files |