You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2019. It is now read-only.
Christoffer Rehn edited this page May 11, 2014
·
15 revisions
NTI (Enhanced TI.Image) is an extremely simple array-based image format supported by nSDL. An image converter is available in nSDL's tools folder or by direct download here (requires .NET Framework 4).
Header
An NTI image is stored in a single array of unsigned 16-bit values. It always starts with an 8-byte header containing 4 values:
Index
Description
0
Magic number (high byte; should be 42) and version (low byte).
1
Image width.
2
Image height.
3
Reserved, should be 0x0000.
All integers are 2 bytes long in big endian order. Their values can never exceed 216−1 since they are read as unsigned shorts.
Pixel data
Every pixel is stored in 16-bit high color format from array index 4 onward.