TIFFImage
Objective-C
@interface TIFFImage : NSObject
Swift
class TIFFImage : NSObject
TIFF Image containing the File Directories
-
Initialize
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
-
Initialize, single file directory
Declaration
Objective-C
- (instancetype)initWithFileDirectory:(TIFFFileDirectory *)fileDirectory;
Swift
init!(fileDirectory: TIFFFileDirectory!)
Parameters
fileDirectory
file directory
-
Initialize, multiple file directories
Declaration
Objective-C
- (instancetype)initWithFileDirectories: (NSArray<TIFFFileDirectory *> *)fileDirectories;
Swift
init!(fileDirectories: [TIFFFileDirectory]!)
Parameters
fileDirectories
file directories
-
Add a file directory
Declaration
Objective-C
- (void)addFileDirectory:(TIFFFileDirectory *)fileDirectory;
Swift
func addFileDirectory(_ fileDirectory: TIFFFileDirectory!)
Parameters
fileDirectory
file directory
-
Get the file directories
Declaration
Objective-C
- (NSArray<TIFFFileDirectory *> *)fileDirectories;
Swift
func fileDirectories() -> [TIFFFileDirectory]!
Return Value
file directories
-
Get the default, first, or only file directory
Declaration
Objective-C
- (TIFFFileDirectory *)fileDirectory;
Swift
func fileDirectory() -> TIFFFileDirectory!
Return Value
file directory
-
Get the file directory at the index
Declaration
Objective-C
- (TIFFFileDirectory *)fileDirectoryAtIndex:(int)index;
Swift
func fileDirectory(at index: Int32) -> TIFFFileDirectory!
Parameters
index
index
Return Value
file directory
-
Size in bytes of the TIFF header and file directories with their entries
Declaration
Objective-C
- (int)sizeHeaderAndDirectories;
Swift
func sizeHeaderAndDirectories() -> Int32
Return Value
size in bytes
-
Size in bytes of the TIFF header and file directories with their entries and entry values
Declaration
Objective-C
- (int)sizeHeaderAndDirectoriesWithValues;
Swift
func sizeHeaderAndDirectoriesWithValues() -> Int32
Return Value
size in bytes