TIFF Image: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 33: | Line 33: | ||
// "4" = LONG (uint32) | // "4" = LONG (uint32) | ||
// "5" = RATIONAL (two LONGs) | // "5" = RATIONAL (two LONGs) | ||
// "6" = SBYTE (int8) | |||
// "7" = UNDEFINED (1 byte that can contain anything) | |||
// "8" = SSHORT (int16) | |||
// "9" = SLONG (int32) | |||
// "10" = SRATIONAL (two SLONGs) | |||
// "11" = FLOAT (4-byte float) | |||
// "12" = DOUBLE (8-byte double) | |||
4 bytes (uint32) - number of values | 4 bytes (uint32) - number of values | ||
4 bytes (uint32) - value offset | 4 bytes (uint32) - value offset | ||
Revision as of 18:38, 30 January 2021
Back to index | Edit this page
TIFF
- Format Type : Image
- Endian Order : Little Endian
Format Specifications
// header
2 bytes (char) - endianess // "II" - little endian
// "MM" - big endian
2 bytes (uint16) - magic // "42"
4 bytes (uint32) - offset of the first IFD (Image File Directory)
// data
x bytes - image data
// directory
2 bytes (uint16) - number of directory entries
num_of_entries *
{
// IFD entry structure
2 bytes (uint16) - entry tag
2 bytes (uint16) - field type // "1" = BYTE (uint8)
// "2" = ASCII (char)
// "3" = SHORT (uint16)
// "4" = LONG (uint32)
// "5" = RATIONAL (two LONGs)
// "6" = SBYTE (int8)
// "7" = UNDEFINED (1 byte that can contain anything)
// "8" = SSHORT (int16)
// "9" = SLONG (int32)
// "10" = SRATIONAL (two SLONGs)
// "11" = FLOAT (4-byte float)
// "12" = DOUBLE (8-byte double)
4 bytes (uint32) - number of values
4 bytes (uint32) - value offset
MultiEx BMS Script
Not written yet.
Notes and Comments
None.
Compatible Programs
- IrfanView
- GIMP
See Also