public class TiffSaver
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TiffSaver.SaveOptions
Options class to specify saving parameters
|
| Constructor and Description |
|---|
TiffSaver() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
appendBitmap(java.io.File destination,
android.graphics.Bitmap bmp)
Append bitmap to the end of existing file or create new file with default
options. |
static boolean |
appendBitmap(java.io.File destination,
android.graphics.Bitmap bmp,
TiffSaver.SaveOptions options)
append bitmap to the end of existing file or create new file.
|
static boolean |
appendBitmap(int fileDescriptor,
android.graphics.Bitmap bmp)
Save bitmap to file with default
options. |
static boolean |
appendBitmap(int fileDescriptor,
android.graphics.Bitmap bmp,
TiffSaver.SaveOptions options)
Save bitmap to file with default
options. |
static boolean |
appendBitmap(java.lang.String destinationPath,
android.graphics.Bitmap bmp,
TiffSaver.SaveOptions options)
append bitmap to the end of existing file or create new file.
|
static boolean |
appendBitmap(java.lang.String destinationPath,
int page,
android.graphics.Bitmap bmp)
append bitmap to the end of existing file or create new file with default
options. |
static boolean |
saveBitmap(java.io.File destination,
android.graphics.Bitmap bmp)
Save bitmap to file with default
options. |
static boolean |
saveBitmap(java.io.File destination,
android.graphics.Bitmap bmp,
TiffSaver.SaveOptions options)
Save bitmap to file.
|
static boolean |
saveBitmap(int fileDescriptor,
android.graphics.Bitmap bmp)
Save bitmap to file with default
options. |
static boolean |
saveBitmap(int fileDescriptor,
android.graphics.Bitmap bmp,
TiffSaver.SaveOptions options)
Save bitmap to file with default
options. |
static boolean |
saveBitmap(java.lang.String destinationPath,
android.graphics.Bitmap bmp)
Save bitmap to file with default
options. |
static boolean |
saveBitmap(java.lang.String destinationPath,
android.graphics.Bitmap bmp,
TiffSaver.SaveOptions options)
Save bitmap to file.
|
public static boolean saveBitmap(java.io.File destination,
android.graphics.Bitmap bmp)
throws CantOpenFileException,
NotEnoughtMemoryException
options.destination - - file to write bitmapbmp - - Bitmap for savingCantOpenFileException - when destination not exist or can't be opened for writingNotEnoughtMemoryException - when there is no avalable memory for processing bitmapDecodeTiffException - when error occure while saving imagepublic static boolean saveBitmap(java.io.File destination,
android.graphics.Bitmap bmp,
TiffSaver.SaveOptions options)
throws CantOpenFileException
destination - - file to write bitmapbmp - - Bitmap for savingoptions - - options for savingCantOpenFileException - when destinationPath not exist or can't be opened for writingNotEnoughtMemoryException - when there is no avalable memory for processing bitmapDecodeTiffException - when error occure while saving imagepublic static boolean saveBitmap(java.lang.String destinationPath,
android.graphics.Bitmap bmp)
throws CantOpenFileException
options.destinationPath - - file path to write bitmapbmp - - Bitmap for savingCantOpenFileException - when destinationPath not exist or can't be opened for writingNotEnoughtMemoryException - when there is no avalable memory for processing bitmapDecodeTiffException - when error occure while saving imagepublic static boolean saveBitmap(java.lang.String destinationPath,
android.graphics.Bitmap bmp,
TiffSaver.SaveOptions options)
throws CantOpenFileException
destinationPath - - file path to write bitmapbmp - - Bitmap for savingoptions - - options for savingCantOpenFileException - when destinationPath not exist or can't be opened for writingNotEnoughtMemoryException - when there is no avalable memory for processing bitmapDecodeTiffException - when error occure while saving imagepublic static boolean appendBitmap(java.io.File destination,
android.graphics.Bitmap bmp)
throws CantOpenFileException,
NotEnoughtMemoryException
options.destination - - file to write bitmapbmp - - Bitmap for savingCantOpenFileException - when destination not exist or can't be opened for writingNotEnoughtMemoryException - when there is no avalable memory for processing bitmapDecodeTiffException - when error occure while saving imagepublic static boolean appendBitmap(java.io.File destination,
android.graphics.Bitmap bmp,
TiffSaver.SaveOptions options)
throws CantOpenFileException
destination - - file to write bitmapbmp - - Bitmap for savingoptions - - options for savingCantOpenFileException - when destinationPath not exist or can't be opened for writingNotEnoughtMemoryException - when there is no avalable memory for processing bitmapDecodeTiffException - when error occure while saving imagepublic static boolean appendBitmap(java.lang.String destinationPath,
int page,
android.graphics.Bitmap bmp)
throws CantOpenFileException
options.destinationPath - - file path to write bitmapbmp - - Bitmap for savingCantOpenFileException - when destinationPath not exist or can't be opened for writingNotEnoughtMemoryException - when there is no avalable memory for processing bitmapDecodeTiffException - when error occure while saving imagepublic static boolean appendBitmap(java.lang.String destinationPath,
android.graphics.Bitmap bmp,
TiffSaver.SaveOptions options)
throws CantOpenFileException
destinationPath - - file path to write bitmapbmp - - Bitmap for savingoptions - - options for savingCantOpenFileException - when destinationPath not exist or can't be opened for writingNotEnoughtMemoryException - when there is no avalable memory for processing bitmapDecodeTiffException - when error occure while saving imagepublic static boolean saveBitmap(int fileDescriptor,
android.graphics.Bitmap bmp)
throws CantOpenFileException,
NotEnoughtMemoryException
options.fileDescriptor - - file descriptor that represent file to write bitmapbmp - - Bitmap for savingCantOpenFileException - when destination not exist or can't be opened for writingNotEnoughtMemoryException - when there is no avalable memory for processing bitmapDecodeTiffException - when error occure while saving imagepublic static boolean saveBitmap(int fileDescriptor,
android.graphics.Bitmap bmp,
TiffSaver.SaveOptions options)
throws CantOpenFileException,
NotEnoughtMemoryException
options.fileDescriptor - - file descriptor that represent file to write bitmapbmp - - Bitmap for savingoptions - - options for savingCantOpenFileException - when destination not exist or can't be opened for writingNotEnoughtMemoryException - when there is no avalable memory for processing bitmapDecodeTiffException - when error occure while saving imagepublic static boolean appendBitmap(int fileDescriptor,
android.graphics.Bitmap bmp)
throws CantOpenFileException,
NotEnoughtMemoryException
options.fileDescriptor - - file descriptor that represent file to write bitmapbmp - - Bitmap for savingCantOpenFileException - when destination not exist or can't be opened for writingNotEnoughtMemoryException - when there is no avalable memory for processing bitmapDecodeTiffException - when error occure while saving imagepublic static boolean appendBitmap(int fileDescriptor,
android.graphics.Bitmap bmp,
TiffSaver.SaveOptions options)
throws CantOpenFileException,
NotEnoughtMemoryException
options.fileDescriptor - - file descriptor that represent file to write bitmapbmp - - Bitmap for savingoptions - - options for savingCantOpenFileException - when destination not exist or can't be opened for writingNotEnoughtMemoryException - when there is no avalable memory for processing bitmapDecodeTiffException - when error occure while saving image