Constructor
new TiffIFDEntry(tag, type, count, valueOffset, geoTiffData, isLittleEndian)
Constructs an image file directory entry. Applications typically do not call this constructor. It is called
by GeoTiffReader as GeoTIFF image file directories are read.
Parameters:
Name | Type | Description |
---|---|---|
tag |
Number | The TIFF tag that identifies the field. |
type |
Number | The type of the field. |
count |
Number | The number of values, count of the indicated type. |
valueOffset |
Number | The file offset (in bytes) of the Value for the field. This file offset may point anywhere in the file, even after the image data. |
geoTiffData |
ArrayBuffer | The buffer descriptor of the geotiff file's content. |
isLittleEndian |
Boolean | Indicates whether the geotiff byte order is little endian. |
- Source:
Throws:
-
If either the specified tag, type, count, valueOffset, geoTiffData or isLittleEndian are null or undefined.
- Type
- ArgumentError
Members
(readonly) count :Number
The number of the values as specified to this TiffIFDEntry's constructor.
Type:
- Number
- Source:
(readonly) geoTiffData :ArrayBuffer
The geotiff buffer data as specified to this TiffIFDEntry's constructor.
Type:
- ArrayBuffer
- Source:
(readonly) isLittleEndian :Boolean
The little endian byte order flag as specified to this TiffIFDEntry's constructor.
Type:
- Boolean
- Source:
(readonly) tag :Number
The tag that identifies the field as specified to this TiffIFDEntry's constructor.
Type:
- Number
- Source:
(readonly) type :Number
The field type as specified to this TiffIFDEntry's constructor.
Type:
- Number
- Source:
(readonly) valueOffset :Number
The file offset as specified to this TiffIFDEntry's constructor.
Type:
- Number
- Source:
Methods
getIFDEntryValue() → {Array.<Number>}
Get the value of an image file directory.
- Source:
Returns:
- Type
- Array.<Number>
getIFDTypeLength() → {Number}
Get the number of bytes of an image file directory depending on its type.
- Source:
Returns:
- Type
- Number