TIFFFileDirectory
Objective-C
@interface TIFFFileDirectory : NSObject
Swift
class TIFFFileDirectory : NSObject
File Directory, represents all directory entries and can be used to read the image raster
-
Rasters to write to the TIFF file
Declaration
Objective-C
@property (nonatomic, strong) TIFFRasters *writeRasters;Swift
var writeRasters: TIFFRasters! { get set } -
Initialize, for reading TIFF files
Declaration
Objective-C
- (instancetype)initWithEntries: (NSMutableOrderedSet<TIFFFileDirectoryEntry *> *)entries andReader:(TIFFByteReader *)reader;Swift
init!(entries: NSMutableOrderedSet!, andReader reader: TIFFByteReader!)Parameters
entriesfile directory entries
readerTIFF file byte reader
-
Initialize, for reading TIFF files
Declaration
Objective-C
- (instancetype)initWithEntries: (NSMutableOrderedSet<TIFFFileDirectoryEntry *> *)entries andReader:(TIFFByteReader *)reader andCacheData:(BOOL)cacheData;Swift
init!(entries: NSMutableOrderedSet!, andReader reader: TIFFByteReader!, andCacheData cacheData: Bool)Parameters
entriesfile directory entries
readerTIFF file byte reader
cacheDatatrue to cache tiles and strips
-
Constructor, for writing TIFF files
Declaration
Objective-C
- (instancetype)init;Swift
init!() -
Constructor, for writing TIFF files
Declaration
Objective-C
- (instancetype)initWithRasters:(TIFFRasters *)rasters;Swift
init!(rasters: TIFFRasters!)Parameters
rastersimage rasters to write
-
Constructor, for writing TIFF files
Declaration
Objective-C
- (instancetype)initWithEntries: (NSMutableOrderedSet<TIFFFileDirectoryEntry *> *)entries andRasters:(TIFFRasters *)rasters;Swift
init!(entries: NSMutableOrderedSet!, andRasters rasters: TIFFRasters!)Parameters
entriesfile directory entries
rastersimage rasters to write
-
Add an entry
Declaration
Objective-C
- (void)addEntry:(TIFFFileDirectoryEntry *)entry;Swift
func addEntry(_ entry: TIFFFileDirectoryEntry!)Parameters
entryfile directory entry
-
Set whether to cache tiles. Does nothing is already caching tiles, clears the existing cache if set to false.
Declaration
Objective-C
- (void)setCacheData:(BOOL)cacheData;Swift
func setCacheData(_ cacheData: Bool)Parameters
cacheDatatrue to cache tiles and strips
-
Get the byte reader
Return Value
byte reader
-
Is this a tiled image
Declaration
Objective-C
- (BOOL)isTiled;Swift
func isTiled() -> BoolReturn Value
true if tiled
-
Get the compression decoder
Declaration
Objective-C
- (NSObject<TIFFCompressionDecoder> *)decoder;Swift
func decoder() -> (any TIFFCompressionDecoder)!Return Value
compression decoder
-
Get the number of entries
Declaration
Objective-C
- (int)numEntries;Swift
func numEntries() -> Int32Return Value
entry count
-
Get a file directory entry from the field tag type
Declaration
Objective-C
- (TIFFFileDirectoryEntry *)entryByFieldTagType: (enum TIFFFieldTagType)fieldTagType;Swift
func entry(by fieldTagType: TIFFFieldTagType) -> TIFFFileDirectoryEntry!Parameters
fieldTagTypefield tag type
Return Value
file directory entry
-
Get the file directory entries
Declaration
Objective-C
- (NSOrderedSet<TIFFFileDirectoryEntry *> *)entries;Swift
func entries() -> NSOrderedSet!Return Value
file directory entries
-
Get the field tag type to file directory entry mapping
Declaration
Objective-C
- (NSDictionary<NSNumber *, TIFFFileDirectoryEntry *> *)fieldTagTypeMapping;Swift
func fieldTagTypeMapping() -> [NSNumber : TIFFFileDirectoryEntry]!Return Value
field tag type mapping
-
Get the image width
Declaration
Objective-C
- (NSNumber *)imageWidth;Swift
func imageWidth() -> NSNumber!Return Value
image width
-
Set the image width
Declaration
Objective-C
- (void)setImageWidth:(unsigned short)width;Swift
func setImageWidth(_ width: UInt16)Parameters
widthimage width
-
Set the image width
Declaration
Objective-C
- (void)setImageWidthAsLong:(unsigned long)width;Swift
func setImageWidthAsLong(_ width: UInt)Parameters
widthimage width
-
Get the image height
Declaration
Objective-C
- (NSNumber *)imageHeight;Swift
func imageHeight() -> NSNumber!Return Value
image height
-
Set the image height
Declaration
Objective-C
- (void)setImageHeight:(unsigned short)height;Swift
func setImageHeight(_ height: UInt16)Parameters
heightimage height
-
Set the image height
Declaration
Objective-C
- (void)setImageHeightAsLong:(unsigned long)height;Swift
func setImageHeightAsLong(_ height: UInt)Parameters
heightimage height
-
Get the bits per sample
Declaration
Objective-C
- (NSArray<NSNumber *> *)bitsPerSample;Swift
func bitsPerSample() -> [NSNumber]!Return Value
bits per sample
-
Set the bits per sample
Declaration
Objective-C
- (void)setBitsPerSample:(NSArray<NSNumber *> *)bitsPerSample;Swift
func setBitsPerSample(_ bitsPerSample: [NSNumber]!)Parameters
bitsPerSamplebits per sample
-
Set a single value bits per sample
Declaration
Objective-C
- (void)setBitsPerSampleAsSingleValue:(unsigned short)bitsPerSample;Swift
func setBitsPerSampleAsSingleValue(_ bitsPerSample: UInt16)Parameters
bitsPerSamplebits per sample
-
Get the max bits per sample
Declaration
Objective-C
- (NSNumber *)maxBitsPerSample;Swift
func maxBitsPerSample() -> NSNumber!Return Value
max bits per sample
-
Get the compression
Declaration
Objective-C
- (NSNumber *)compression;Swift
func compression() -> NSNumber!Return Value
compression
-
Set the compression
Declaration
Objective-C
- (void)setCompression:(unsigned short)compression;Swift
func setCompression(_ compression: UInt16)Parameters
compressioncompression
-
Get the photometric interpretation
Declaration
Objective-C
- (NSNumber *)photometricInterpretation;Swift
func photometricInterpretation() -> NSNumber!Return Value
photometric interpretation
-
Set the photometric interpretation
Declaration
Objective-C
- (void)setPhotometricInterpretation:(unsigned short)photometricInterpretation;Swift
func setPhotometricInterpretation(_ photometricInterpretation: UInt16)Parameters
photometricInterpretationphotometric interpretation
-
Get the strip offsets
Declaration
Objective-C
- (NSArray<NSNumber *> *)stripOffsets;Swift
func stripOffsets() -> [NSNumber]!Return Value
strip offsets
-
Set the strip offsets
Declaration
Objective-C
- (void)setStripOffsets:(NSArray<NSNumber *> *)stripOffsets;Swift
func setStripOffsets(_ stripOffsets: [NSNumber]!)Parameters
stripOffsetsstrip offsets
-
Set the strip offsets
Declaration
Objective-C
- (void)setStripOffsetsAsLongs:(NSArray<NSNumber *> *)stripOffsets;Swift
func setStripOffsetsAsLongs(_ stripOffsets: [NSNumber]!)Parameters
stripOffsetsstrip offsets
-
Set a single value strip offset
Declaration
Objective-C
- (void)setStripOffsetsAsSingleValue:(unsigned short)stripOffset;Swift
func setStripOffsetsAsSingleValue(_ stripOffset: UInt16)Parameters
stripOffsetstrip offset
-
Set a single value strip offset
Declaration
Objective-C
- (void)setStripOffsetsAsSingleLongValue:(unsigned long)stripOffset;Swift
func setStripOffsetsAsSingleLongValue(_ stripOffset: UInt)Parameters
stripOffsetstrip offset
-
Get the samples per pixel
Declaration
Objective-C
- (int)samplesPerPixel;Swift
func samplesPerPixel() -> Int32Return Value
samples per pixel
-
Set the samples per pixel
Declaration
Objective-C
- (void)setSamplesPerPixel:(unsigned short)samplesPerPixel;Swift
func setSamplesPerPixel(_ samplesPerPixel: UInt16)Parameters
samplesPerPixelsamples per pixel
-
Get the rows per strip
Declaration
Objective-C
- (NSNumber *)rowsPerStrip;Swift
func rowsPerStrip() -> NSNumber!Return Value
rows per strip
-
Set the rows per strip
Declaration
Objective-C
- (void)setRowsPerStrip:(unsigned short)rowsPerStrip;Swift
func setRowsPerStrip(_ rowsPerStrip: UInt16)Parameters
rowsPerStriprows per strip
-
Set the rows per strip
Declaration
Objective-C
- (void)setRowsPerStripAsLong:(unsigned long)rowsPerStrip;Swift
func setRowsPerStripAsLong(_ rowsPerStrip: UInt)Parameters
rowsPerStriprows per strip
-
Get the strip byte counts
Declaration
Objective-C
- (NSArray<NSNumber *> *)stripByteCounts;Swift
func stripByteCounts() -> [NSNumber]!Return Value
strip byte counts
-
Set the strip byte counts
Declaration
Objective-C
- (void)setStripByteCounts:(NSArray<NSNumber *> *)stripByteCounts;Swift
func setStripByteCounts(_ stripByteCounts: [NSNumber]!)Parameters
stripByteCountsstrip byte counts
-
Set the strip byte counts
Declaration
Objective-C
- (void)setStripByteCountsAsLongs:(NSArray<NSNumber *> *)stripByteCounts;Swift
func setStripByteCountsAsLongs(_ stripByteCounts: [NSNumber]!)Parameters
stripByteCountsstrip byte counts
-
Set a single value strip byte count
Declaration
Objective-C
- (void)setStripByteCountsAsSingleValue:(unsigned short)stripByteCount;Swift
func setStripByteCountsAsSingleValue(_ stripByteCount: UInt16)Parameters
stripByteCountstrip byte count
-
Set a single value strip byte count
Declaration
Objective-C
- (void)setStripByteCountsAsSingleLongValue:(unsigned long)stripByteCount;Swift
func setStripByteCountsAsSingleLongValue(_ stripByteCount: UInt)Parameters
stripByteCountstrip byte count
-
Get the x resolution
Declaration
Objective-C
- (NSArray<NSNumber *> *)xResolution;Swift
func xResolution() -> [NSNumber]!Return Value
x resolution
-
Set the x resolution
Declaration
Objective-C
- (void)setXResolution:(NSArray<NSNumber *> *)xResolution;Swift
func setXResolution(_ xResolution: [NSNumber]!)Parameters
xResolutionx resolution
-
Set a single value x resolution
Declaration
Objective-C
- (void)setXResolutionAsSingleValue:(unsigned long)xResolution;Swift
func setXResolutionAsSingleValue(_ xResolution: UInt)Parameters
xResolutionx resolution
-
Get the y resolution
Declaration
Objective-C
- (NSArray<NSNumber *> *)yResolution;Swift
func yResolution() -> [NSNumber]!Return Value
y resolution
-
Set the y resolution
Declaration
Objective-C
- (void)setYResolution:(NSArray<NSNumber *> *)yResolution;Swift
func setYResolution(_ yResolution: [NSNumber]!)Parameters
yResolutiony resolution
-
Set a single value y resolution
Declaration
Objective-C
- (void)setYResolutionAsSingleValue:(unsigned long)yResolution;Swift
func setYResolutionAsSingleValue(_ yResolution: UInt)Parameters
yResolutiony resolution
-
Get the planar configuration
Declaration
Objective-C
- (NSNumber *)planarConfiguration;Swift
func planarConfiguration() -> NSNumber!Return Value
planar configuration
-
Set the planar configuration
Declaration
Objective-C
- (void)setPlanarConfiguration:(unsigned short)planarConfiguration;Swift
func setPlanarConfiguration(_ planarConfiguration: UInt16)Parameters
planarConfigurationplanar configuration
-
Get the resolution unit
Declaration
Objective-C
- (NSNumber *)resolutionUnit;Swift
func resolutionUnit() -> NSNumber!Return Value
resolution unit
-
Set the resolution unit
Declaration
Objective-C
- (void)setResolutionUnit:(unsigned short)resolutionUnit;Swift
func setResolutionUnit(_ resolutionUnit: UInt16)Parameters
resolutionUnitresolution unit
-
Get the model pixel scale
Declaration
Objective-C
- (NSArray<NSNumber *> *)modelPixelScale;Swift
func modelPixelScale() -> [NSNumber]!Return Value
model pixel scale
-
Set the model pixel scale
Declaration
Objective-C
- (void)setModelPixelScale:(NSArray<NSNumber *> *)modelPixelScale;Swift
func setModelPixelScale(_ modelPixelScale: [NSNumber]!)Parameters
modelPixelScalepixel scale
-
Get the model tiepoint
Declaration
Objective-C
- (NSArray<NSNumber *> *)modelTiepoint;Swift
func modelTiepoint() -> [NSNumber]!Return Value
model tiepoint
-
Set the model tiepoint
Declaration
Objective-C
- (void)setModelTiepoint:(NSArray<NSNumber *> *)modelTiepoint;Swift
func setModelTiepoint(_ modelTiepoint: [NSNumber]!)Parameters
modelTiepointmodel tiepoint
-
Get the color map
Declaration
Objective-C
- (NSArray<NSNumber *> *)colorMap;Swift
func colorMap() -> [NSNumber]!Return Value
color map
-
Set the color map
Declaration
Objective-C
- (void)setColorMap:(NSArray<NSNumber *> *)colorMap;Swift
func setColorMap(_ colorMap: [NSNumber]!)Parameters
colorMapcolor map
-
Set a single value color map
Declaration
Objective-C
- (void)setColorMapAsSingleValue:(unsigned short)colorMap;Swift
func setColorMapAsSingleValue(_ colorMap: UInt16)Parameters
colorMapcolor map
-
Get the tile width
Declaration
Objective-C
- (NSNumber *)tileWidth;Swift
func tileWidth() -> NSNumber!Return Value
tile width
-
Set the tile width
Declaration
Objective-C
- (void)setTileWidth:(unsigned short)tileWidth;Swift
func setTileWidth(_ tileWidth: UInt16)Parameters
tileWidthtile width
-
Set the tile width
Declaration
Objective-C
- (void)setTileWidthAsLong:(unsigned long)tileWidth;Swift
func setTileWidthAsLong(_ tileWidth: UInt)Parameters
tileWidthtile width
-
Get the tile height
Declaration
Objective-C
- (NSNumber *)tileHeight;Swift
func tileHeight() -> NSNumber!Return Value
tile height
-
Set the tile height
Declaration
Objective-C
- (void)setTileHeight:(unsigned short)tileHeight;Swift
func setTileHeight(_ tileHeight: UInt16)Parameters
tileHeighttile width
-
Set the tile height
Declaration
Objective-C
- (void)setTileHeightAsLong:(unsigned long)tileHeight;Swift
func setTileHeightAsLong(_ tileHeight: UInt)Parameters
tileHeighttile height
-
Get the tile offsets
Declaration
Objective-C
- (NSArray<NSNumber *> *)tileOffsets;Swift
func tileOffsets() -> [NSNumber]!Return Value
tile offsets
-
Set the tile offsets
Declaration
Objective-C
- (void)setTileOffsets:(NSArray<NSNumber *> *)tileOffsets;Swift
func setTileOffsets(_ tileOffsets: [NSNumber]!)Parameters
tileOffsetstile offsets
-
Set a single value tile offset
Declaration
Objective-C
- (void)setTileOffsetsAsSingleValue:(unsigned short)tileOffset;Swift
func setTileOffsetsAsSingleValue(_ tileOffset: UInt16)Parameters
tileOffsettile offset
-
Get the tile byte counts
Declaration
Objective-C
- (NSArray<NSNumber *> *)tileByteCounts;Swift
func tileByteCounts() -> [NSNumber]!Return Value
tile byte counts
-
Set the tile byte counts
Declaration
Objective-C
- (void)setTileByteCounts:(NSArray<NSNumber *> *)tileByteCounts;Swift
func setTileByteCounts(_ tileByteCounts: [NSNumber]!)Parameters
tileByteCountstile byte counts
-
Set the tile byte counts
Declaration
Objective-C
- (void)setTileByteCountsAsLongs:(NSArray<NSNumber *> *)tileByteCounts;Swift
func setTileByteCountsAsLongs(_ tileByteCounts: [NSNumber]!)Parameters
tileByteCountstile byte counts
-
Set a single value tile byte count
Declaration
Objective-C
- (void)setTileByteCountsAsSingleValue:(unsigned short)tileByteCount;Swift
func setTileByteCountsAsSingleValue(_ tileByteCount: UInt16)Parameters
tileByteCounttile byte count
-
Set a single value tile byte count
Declaration
Objective-C
- (void)setTileByteCountsAsSingleLongValue:(unsigned long)tileByteCount;Swift
func setTileByteCountsAsSingleLongValue(_ tileByteCount: UInt)Parameters
tileByteCounttile byte count
-
Get the sample format
Declaration
Objective-C
- (NSArray<NSNumber *> *)sampleFormat;Swift
func sampleFormat() -> [NSNumber]!Return Value
sample format
-
Set the sample format
Declaration
Objective-C
- (void)setSampleFormat:(NSArray<NSNumber *> *)sampleFormat;Swift
func setSampleFormat(_ sampleFormat: [NSNumber]!)Parameters
sampleFormatsample format
-
Set a single value sample format
Declaration
Objective-C
- (void)setSampleFormatAsSingleValue:(unsigned short)sampleFormat;Swift
func setSampleFormatAsSingleValue(_ sampleFormat: UInt16)Parameters
sampleFormatsample format
-
Get the max sample format
Declaration
Objective-C
- (NSNumber *)maxSampleFormat;Swift
func maxSampleFormat() -> NSNumber!Return Value
max sample format
-
Get the predictor
Declaration
Objective-C
- (NSNumber *)predictor;Swift
func predictor() -> NSNumber!Return Value
predictor
-
Set the predictor
Declaration
Objective-C
- (void)setPredictor:(unsigned short)predictor;Swift
func setPredictor(_ predictor: UInt16)Parameters
predictorpredictor
-
Read the rasters
Return Value
rasters
-
Read the rasters as interleaved
Declaration
Objective-C
- (TIFFRasters *)readInterleavedRasters;Swift
func readInterleavedRasters() -> TIFFRasters!Return Value
rasters
-
Read the rasters
Declaration
Objective-C
- (TIFFRasters *)readRastersWithWindow:(TIFFImageWindow *)window;Swift
func readRasters(with window: TIFFImageWindow!) -> TIFFRasters!Parameters
windowimage window
Return Value
rasters
-
Read the rasters as interleaved
Declaration
Objective-C
- (TIFFRasters *)readInterleavedRastersWithWindow:(TIFFImageWindow *)window;Swift
func readInterleavedRasters(with window: TIFFImageWindow!) -> TIFFRasters!Parameters
windowimage window
Return Value
rasters
-
Read the rasters
Declaration
Objective-C
- (TIFFRasters *)readRastersWithSamples:(NSArray<NSNumber *> *)samples;Swift
func readRasters(withSamples samples: [NSNumber]!) -> TIFFRasters!Parameters
samplespixel samples to read
Return Value
rasters
-
Read the rasters as interleaved
Declaration
Objective-C
- (TIFFRasters *)readInterleavedRastersWithSamples: (NSArray<NSNumber *> *)samples;Swift
func readInterleavedRasters(withSamples samples: [NSNumber]!) -> TIFFRasters!Parameters
samplespixel samples to read
Return Value
rasters
-
Read the rasters
Declaration
Objective-C
- (TIFFRasters *)readRastersWithWindow:(TIFFImageWindow *)window andSamples:(NSArray<NSNumber *> *)samples;Swift
func readRasters(with window: TIFFImageWindow!, andSamples samples: [NSNumber]!) -> TIFFRasters!Parameters
windowimage window
samplespixel samples to read
Return Value
rasters
-
Read the rasters as interleaved
Declaration
Objective-C
- (TIFFRasters *)readInterleavedRastersWithWindow:(TIFFImageWindow *)window andSamples: (NSArray<NSNumber *> *)samples;Swift
func readInterleavedRasters(with window: TIFFImageWindow!, andSamples samples: [NSNumber]!) -> TIFFRasters!Parameters
windowimage window
samplespixel samples to read
Return Value
rasters
-
Read the rasters
Declaration
Objective-C
- (TIFFRasters *)readRastersWithSampleValues:(BOOL)sampleValues andInterleaveValues:(BOOL)interleaveValues;Swift
func readRasters(withSampleValues sampleValues: Bool, andInterleaveValues interleaveValues: Bool) -> TIFFRasters!Parameters
sampleValuestrue to read results per sample
interleaveValuestrue to read results as interleaved
Return Value
rasters
-
Read the rasters
Declaration
Objective-C
- (TIFFRasters *)readRastersWithWindow:(TIFFImageWindow *)window andSampleValues:(BOOL)sampleValues andInterleaveValues:(BOOL)interleaveValues;Swift
func readRasters(with window: TIFFImageWindow!, andSampleValues sampleValues: Bool, andInterleaveValues interleaveValues: Bool) -> TIFFRasters!Parameters
windowimage window
sampleValuestrue to read results per sample
interleaveValuestrue to read results as interleaved
Return Value
rasters
-
Read the rasters
Declaration
Objective-C
- (TIFFRasters *)readRastersWithSamples:(NSArray<NSNumber *> *)samples andSampleValues:(BOOL)sampleValues andInterleaveValues:(BOOL)interleaveValues;Swift
func readRasters(withSamples samples: [NSNumber]!, andSampleValues sampleValues: Bool, andInterleaveValues interleaveValues: Bool) -> TIFFRasters!Parameters
samplespixel samples to read
sampleValuestrue to read results per sample
interleaveValuestrue to read results as interleaved
Return Value
rasters
-
Read the rasters
Declaration
Objective-C
- (TIFFRasters *)readRastersWithWindow:(TIFFImageWindow *)window andSamples:(NSArray<NSNumber *> *)samples andSampleValues:(BOOL)sampleValues andInterleaveValues:(BOOL)interleaveValues;Swift
func readRasters(with window: TIFFImageWindow!, andSamples samples: [NSNumber]!, andSampleValues sampleValues: Bool, andInterleaveValues interleaveValues: Bool) -> TIFFRasters!Parameters
windowimage window
samplespixel samples to read
sampleValuestrue to read results per sample
interleaveValuestrue to read results as interleaved
Return Value
rasters
-
Get the field type for the sample
Declaration
Objective-C
- (enum TIFFFieldType)fieldTypeForSample:(int)sampleIndex;Swift
func fieldType(forSample sampleIndex: Int32) -> TIFFFieldTypeParameters
sampleIndexsample index
Return Value
field type
-
Get a short entry value
Declaration
Objective-C
- (NSNumber *)shortEntryValueWithFieldTag:(enum TIFFFieldTagType)fieldTagType;Swift
func shortEntryValue(with fieldTagType: TIFFFieldTagType) -> NSNumber!Parameters
fieldTagTypefield tag type
Return Value
short value
-
Set an unsigned short entry value for the field tag type
Declaration
Objective-C
- (void)setUnsignedShortEntryValue:(unsigned short)value withFieldTag:(enum TIFFFieldTagType)fieldTagType;Swift
func setUnsignedShortEntryValue(_ value: UInt16, with fieldTagType: TIFFFieldTagType)Parameters
valueunsigned short value (16 bit)
fieldTagTypefield tag type
-
Get a number entry value
Declaration
Objective-C
- (NSNumber *)numberEntryValueWithFieldTag:(enum TIFFFieldTagType)fieldTagType;Swift
func numberEntryValue(with fieldTagType: TIFFFieldTagType) -> NSNumber!Parameters
fieldTagTypefield tag type
Return Value
number value
-
Set an unsigned long entry value for the field tag type
Declaration
Objective-C
- (void)setUnsignedLongEntryValue:(unsigned long)value withFieldTag:(enum TIFFFieldTagType)fieldTagType;Swift
func setUnsignedLongEntryValue(_ value: UInt, with fieldTagType: TIFFFieldTagType)Parameters
valueunsigned long value (32 bit)
fieldTagTypefield tag type
-
Get a string entry value for the field tag type
Declaration
Objective-C
- (NSString *)stringEntryValueWithFieldTag:(enum TIFFFieldTagType)fieldTagType;Swift
func stringEntryValue(with fieldTagType: TIFFFieldTagType) -> String!Parameters
fieldTagTypefield tag type
Return Value
string value
-
Set string value for the field tag type
Declaration
Objective-C
- (void)setStringEntryValue:(NSString *)value withFieldTag:(enum TIFFFieldTagType)fieldTagType;Swift
func setStringEntryValue(_ value: String!, with fieldTagType: TIFFFieldTagType)Parameters
valuestring value
fieldTagTypefield tag type
-
Get an short list entry value
Declaration
Objective-C
- (NSArray<NSNumber *> *)shortListEntryValueWithFieldTag: (enum TIFFFieldTagType)fieldTagType;Swift
func shortListEntryValue(with fieldTagType: TIFFFieldTagType) -> [NSNumber]!Parameters
fieldTagTypefield tag type
Return Value
short list value
-
Set an unsigned short list of values for the field tag type
Declaration
Objective-C
- (void)setUnsignedShortListEntryValue:(NSArray<NSNumber *> *)value withFieldTag:(enum TIFFFieldTagType)fieldTagType;Swift
func setUnsignedShortListEntryValue(_ value: [NSNumber]!, with fieldTagType: TIFFFieldTagType)Parameters
valueunsigned shorts list
fieldTagTypefield tag type
-
Get the max short from short list entry values
Declaration
Objective-C
- (NSNumber *)maxShortEntryValueWithFieldTag: (enum TIFFFieldTagType)fieldTagType;Swift
func maxShortEntryValue(with fieldTagType: TIFFFieldTagType) -> NSNumber!Parameters
fieldTagTypefield tag type
Return Value
max short value
-
Get a number list entry value
Declaration
Objective-C
- (NSArray<NSNumber *> *)numberListEntryValueWithFieldTag: (enum TIFFFieldTagType)fieldTagType;Swift
func numberListEntryValue(with fieldTagType: TIFFFieldTagType) -> [NSNumber]!Parameters
fieldTagTypefield tag type
Return Value
number list value
-
Set a number list of values for the field tag type
Declaration
Objective-C
- (void)setNumberListEntryValue:(NSArray<NSNumber *> *)value withFieldTag:(enum TIFFFieldTagType)fieldTagType;Swift
func setNumberListEntryValue(_ value: [NSNumber]!, with fieldTagType: TIFFFieldTagType)Parameters
valuenumber list
fieldTagTypefield tag type
-
Get a long list entry value
Declaration
Objective-C
- (NSArray<NSNumber *> *)longListEntryValueWithFieldTag: (enum TIFFFieldTagType)fieldTagType;Swift
func longListEntryValue(with fieldTagType: TIFFFieldTagType) -> [NSNumber]!Parameters
fieldTagTypefield tag type
Return Value
long list value
-
Set an unsigned long list of values for the field tag type
Declaration
Objective-C
- (void)setUnsignedLongListEntryValue:(NSArray<NSNumber *> *)value withFieldTag:(enum TIFFFieldTagType)fieldTagType;Swift
func setUnsignedLongListEntryValue(_ value: [NSNumber]!, with fieldTagType: TIFFFieldTagType)Parameters
valueunsigned longs list
fieldTagTypefield tag type
-
Set rational value for the field tag type
Declaration
Objective-C
- (void)setRationalEntryValue:(NSArray<NSNumber *> *)value withFieldTag:(enum TIFFFieldTagType)fieldTagType;Swift
func setRationalEntryValue(_ value: [NSNumber]!, with fieldTagType: TIFFFieldTagType)Parameters
fieldTagTypefield tag type
valuelong list value
-
Size in bytes of the Image File Directory (all contiguous)
Declaration
Objective-C
- (int)size;Swift
func size() -> Int32Return Value
size in bytes
-
Size in bytes of the image file directory including entry values (not contiguous bytes)
Declaration
Objective-C
- (int)sizeWithValues;Swift
func sizeWithValues() -> Int32Return Value
size in bytes
View on GitHub
TIFFFileDirectory Class Reference