public ImageFileIOProcessor
Represents image file IO operations
void writeImage(@NotNull
android.graphics.Bitmap bitmap,
@NotNull
android.graphics.Bitmap.CompressFormat compressFormat,
int quality,
@NotNull
java.io.File destination)
Write Bitmap to the destination File
bitmap - the source Bitmap imagecompressFormat - Bitmap.CompressFormat The format of the compressed imagequality - Int Hint to the compressor, 0-100. 0 meaning compress for small size, 100 meaning compress for max quality. Some formats, like PNG which is lossless, will ignore the quality settingdestination - the destination fileIOException - in case of IO operation problems@Nullable
android.graphics.Bitmap readImage(@NotNull
java.io.File source,
@Nullable
android.graphics.BitmapFactory.Options options)
Read Bitmap image from the source File
source - the source file object, or null if it could not be decoded.IOException - in case of IO operation problems@Nullable
android.graphics.Bitmap readImage(@NotNull
android.net.Uri sourceUri,
@Nullable
android.graphics.BitmapFactory.Options options)
Read Bitmap image from the source file Uri
IOException - in case of IO operation problems