TIFF Image: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 15: | Line 15: | ||
2 bytes (uint16) - magic // "42" | 2 bytes (uint16) - magic // "42" | ||
4 bytes (uint32) - offset of the first IFD (Image File Directory) | 4 bytes (uint32) - offset of the first IFD (Image File Directory) | ||
x bytes - | |||
// 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) | |||
4 bytes (uint32) - number of values | |||
4 bytes (uint32) - value offset | |||
</pre> | </pre> | ||
Revision as of 18:32, 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)
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