Interface ImageFileIOProcessor
-
- All Implemented Interfaces:
public interface ImageFileIOProcessor
Represents image file IO operations
-
-
Method Summary
Modifier and Type Method Description abstract Unit
writeImage(Bitmap bitmap, Bitmap.CompressFormat compressFormat, Integer quality, File destination)
Write Bitmap to the destination File abstract Bitmap
readImage(File source, BitmapFactory.Options options)
Read Bitmap image from the source File abstract Bitmap
readImage(Uri sourceUri, BitmapFactory.Options options)
Read Bitmap image from the source file Uri -
-
Method Detail
-
writeImage
abstract Unit writeImage(Bitmap bitmap, Bitmap.CompressFormat compressFormat, Integer quality, File destination)
- Parameters:
bitmap
- the source Bitmap imagecompressFormat
- Bitmap.CompressFormat The format of the compressed imagequality
- Int Hint to the compressor, 0-100.destination
- the destination file
-
readImage
abstract Bitmap readImage(File source, BitmapFactory.Options options)
- Parameters:
source
- the source file object, or null if it could not be decoded.
-
readImage
abstract Bitmap readImage(Uri sourceUri, BitmapFactory.Options options)
-
-
-
-