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