public class TiffBitmapFactory
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TiffBitmapFactory.ImageConfig |
static class |
TiffBitmapFactory.Options
Options class to specify decoding parameterMs
|
| Constructor and Description |
|---|
TiffBitmapFactory() |
| Modifier and Type | Method and Description |
|---|---|
static android.graphics.Bitmap |
decodeFile(java.io.File file)
Deprecated.
Since Android Q is released. You can use this method with scoped storage.
Otherwise use
decodeFileDescriptor(int).
Decode file to bitmap with default options. If the specified file name is null,
or cannot be decoded into a bitmap, the function returns null. |
static android.graphics.Bitmap |
decodeFile(java.io.File file,
TiffBitmapFactory.Options options)
Deprecated.
Since Android Q is released. You can use this method with scoped storage.
Otherwise use
decodeFileDescriptor(int, Options).
Decode file to bitmap with specified options. If the specified file name is null,
or cannot be decoded into a bitmap, the function returns null. |
static android.graphics.Bitmap |
decodeFile(java.io.File file,
TiffBitmapFactory.Options options,
IProgressListener listener)
Deprecated.
Since Android Q is released. You can use this method with scoped storage.
Otherwise use
decodeFileDescriptor(int, Options, IProgressListener).
Decode file to bitmap with specified options. If the specified file name is null,
or cannot be decoded into a bitmap, the function returns null. |
static android.graphics.Bitmap |
decodeFileDescriptor(int fileDescriptor)
Decode file descriptor to bitmap with specified options.
|
static android.graphics.Bitmap |
decodeFileDescriptor(int fileDescriptor,
TiffBitmapFactory.Options options)
Decode file descriptor to bitmap with specified options.
|
static android.graphics.Bitmap |
decodeFileDescriptor(int fileDescriptor,
TiffBitmapFactory.Options options,
IProgressListener listener)
Decode file descriptor to bitmap with specified options.
|
static android.graphics.Bitmap |
decodePath(java.lang.String path)
Deprecated.
Since Android Q is released. You can use this method with scoped storage.
Otherwise use
decodeFileDescriptor(int).
Decode path to bitmap with default options. If the specified file name is null,
or cannot be decoded into a bitmap, the function returns null. |
static android.graphics.Bitmap |
decodePath(java.lang.String path,
TiffBitmapFactory.Options options)
Deprecated.
Since Android Q is released. You can use this method with scoped storage.
Otherwise use
decodeFileDescriptor(int, Options).
Decode path to bitmap with specified options. If the specified file name is null,
or cannot be decoded into a bitmap, the function returns null. |
static android.graphics.Bitmap |
decodePath(java.lang.String path,
TiffBitmapFactory.Options options,
IProgressListener listener)
Deprecated.
Since Android Q is released. You can use this method with scoped storage.
Otherwise use
decodeFileDescriptor(int, Options, IProgressListener).
Decode path to bitmap with specified options. If the specified file name is null,
or cannot be decoded into a bitmap, the function returns null. |
public static android.graphics.Bitmap decodeFile(java.io.File file)
throws CantOpenFileException,
DecodeTiffException,
NotEnoughtMemoryException
decodeFileDescriptor(int).
Decode file to bitmap with default options. If the specified file name is null,
or cannot be decoded into a bitmap, the function returns null.file - - file to decodeDecodeTiffException - when error occure while decoding imageCantOpenFileException - when file not exist or file is not tiff imageNotEnoughtMemoryException - when for decoding of image system need more memory than TiffBitmapFactory.Options.inAvailableMemory or default valuepublic static android.graphics.Bitmap decodeFile(java.io.File file,
TiffBitmapFactory.Options options)
throws CantOpenFileException,
DecodeTiffException,
NotEnoughtMemoryException
decodeFileDescriptor(int, Options).
Decode file to bitmap with specified options. If the specified file name is null,
or cannot be decoded into a bitmap, the function returns null.file - - file to decodeoptions - - options for decodingTiffBitmapFactory.Options.outWidth, TiffBitmapFactory.Options.outHeight, TiffBitmapFactory.Options.outDirectoryCount)DecodeTiffException - when error occure while decoding imageCantOpenFileException - when file not exist or file is not tiff imageNotEnoughtMemoryException - when TiffBitmapFactory.Options.inAvailableMemory not enought to decode imagepublic static android.graphics.Bitmap decodeFile(java.io.File file,
TiffBitmapFactory.Options options,
IProgressListener listener)
throws CantOpenFileException,
DecodeTiffException,
NotEnoughtMemoryException
decodeFileDescriptor(int, Options, IProgressListener).
Decode file to bitmap with specified options. If the specified file name is null,
or cannot be decoded into a bitmap, the function returns null.file - - file to decodeoptions - - options for decodinglistener - - listener which will receive decoding progressTiffBitmapFactory.Options.outWidth, TiffBitmapFactory.Options.outHeight, TiffBitmapFactory.Options.outDirectoryCount)DecodeTiffException - when error occure while decoding imageCantOpenFileException - when file not exist or file is not tiff imageNotEnoughtMemoryException - when TiffBitmapFactory.Options.inAvailableMemory not enought to decode imagepublic static android.graphics.Bitmap decodePath(java.lang.String path)
throws CantOpenFileException,
DecodeTiffException,
NotEnoughtMemoryException
decodeFileDescriptor(int).
Decode path to bitmap with default options. If the specified file name is null,
or cannot be decoded into a bitmap, the function returns null.path - - file to decodeDecodeTiffException - when error occure while decoding imageCantOpenFileException - when file not exist or file is not tiff imageNotEnoughtMemoryException - when for decoding of image system need more memory than TiffBitmapFactory.Options.inAvailableMemory or default valuepublic static android.graphics.Bitmap decodePath(java.lang.String path,
TiffBitmapFactory.Options options)
throws CantOpenFileException,
DecodeTiffException,
NotEnoughtMemoryException
decodeFileDescriptor(int, Options).
Decode path to bitmap with specified options. If the specified file name is null,
or cannot be decoded into a bitmap, the function returns null.path - - file to decodeoptions - - options for decodingTiffBitmapFactory.Options.outWidth, TiffBitmapFactory.Options.outHeight, TiffBitmapFactory.Options.outDirectoryCount)DecodeTiffException - when error occure while decoding imageCantOpenFileException - when file not exist or file is not tiff imageNotEnoughtMemoryException - when for decoding of image system need more memory than TiffBitmapFactory.Options.inAvailableMemory or default valuepublic static android.graphics.Bitmap decodePath(java.lang.String path,
TiffBitmapFactory.Options options,
IProgressListener listener)
throws CantOpenFileException,
DecodeTiffException,
NotEnoughtMemoryException
decodeFileDescriptor(int, Options, IProgressListener).
Decode path to bitmap with specified options. If the specified file name is null,
or cannot be decoded into a bitmap, the function returns null.path - - file to decodeoptions - - options for decodinglistener - - listener which will receive decoding progressTiffBitmapFactory.Options.outWidth, TiffBitmapFactory.Options.outHeight, TiffBitmapFactory.Options.outDirectoryCount)DecodeTiffException - when error occure while decoding imageCantOpenFileException - when file not exist or file is not tiff imageNotEnoughtMemoryException - when for decoding of image system need more memory than TiffBitmapFactory.Options.inAvailableMemory or default valuepublic static android.graphics.Bitmap decodeFileDescriptor(int fileDescriptor)
throws CantOpenFileException,
DecodeTiffException,
NotEnoughtMemoryException
fileDescriptor - - file descriptor that represent file to decodeTiffBitmapFactory.Options.outWidth, TiffBitmapFactory.Options.outHeight, TiffBitmapFactory.Options.outDirectoryCount)DecodeTiffException - when error occure while decoding imageCantOpenFileException - when file not exist or file is not tiff imageNotEnoughtMemoryException - when for decoding of image system need more memory than TiffBitmapFactory.Options.inAvailableMemory or default valuepublic static android.graphics.Bitmap decodeFileDescriptor(int fileDescriptor,
TiffBitmapFactory.Options options)
throws CantOpenFileException,
DecodeTiffException,
NotEnoughtMemoryException
fileDescriptor - - file descriptor that represent file to decodeoptions - - options for decodingTiffBitmapFactory.Options.outWidth, TiffBitmapFactory.Options.outHeight, TiffBitmapFactory.Options.outDirectoryCount)DecodeTiffException - when error occure while decoding imageCantOpenFileException - when file not exist or file is not tiff imageNotEnoughtMemoryException - when for decoding of image system need more memory than TiffBitmapFactory.Options.inAvailableMemory or default valuepublic static android.graphics.Bitmap decodeFileDescriptor(int fileDescriptor,
TiffBitmapFactory.Options options,
IProgressListener listener)
throws CantOpenFileException,
DecodeTiffException,
NotEnoughtMemoryException
fileDescriptor - - file descriptor that represent file to decodeoptions - - options for decodinglistener - - listener which will receive decoding progressTiffBitmapFactory.Options.outWidth, TiffBitmapFactory.Options.outHeight, TiffBitmapFactory.Options.outDirectoryCount)DecodeTiffException - when error occure while decoding imageCantOpenFileException - when file not exist or file is not tiff imageNotEnoughtMemoryException - when for decoding of image system need more memory than TiffBitmapFactory.Options.inAvailableMemory or default value