public class TransparentJpeg
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
combinationExists(java.io.File dir,
java.lang.String filename,
boolean cleanupIfNot)
Check if the RGB and ALPHA channel's exists
|
static void |
deleteTransparentJpeg(java.io.File dir,
java.lang.String filename)
Delete the RGB and ALPHA Jpeg.
|
static android.graphics.Bitmap |
loadTransparentJpeg(java.io.File dir,
java.lang.String filename)
Load the RGB and ALPHA channel and combine them into one Bitmap.
|
static boolean |
saveTransparentJpeg(java.io.File dir,
java.lang.String filename,
android.graphics.Bitmap bitmap)
Save ARGB Bitmap in two JPEG files
|
public static boolean saveTransparentJpeg(java.io.File dir,
java.lang.String filename,
android.graphics.Bitmap bitmap)
dir - save directoryfilename - the filename prefixbitmap - the bitmap that should be savedpublic static void deleteTransparentJpeg(java.io.File dir,
java.lang.String filename)
dir - save directoryfilename - the filename prefixpublic static boolean combinationExists(java.io.File dir,
java.lang.String filename,
boolean cleanupIfNot)
dir - save directoryfilename - the filename prefixcleanupIfNot - delete the second channel if the other not presentpublic static android.graphics.Bitmap loadTransparentJpeg(java.io.File dir,
java.lang.String filename)
dir - save directoryfilename - the filename prefix