The KRO format is a simple image saving format.
20 bit long header:
3 bit: "KRO" signature in 0x4B 0x52 0x4FF hexadecimal
1 bit: version 0x01
Unsigned long: Width
Unsigned long: Height
Unsigned long: depth => 8 bits, 16 bits, 32 bits
Unsigned long: ncomp => number of bodies, nodes and 4 default, RGB + Alpha
* Data: The data is not compressed
Everything is stored in the big endian format (header and data).
The data is saved RGBA, RGBA (or RVB, RGB only if the component is 3).
It is the order of the principal lines: the first line is stores, then the second, etc.
The top row is the first line.
The columns from left to right are stored in a line.
The 16 bit format is a full 16 bytes (0...65535), no floating point (this is not like the half of floating points in OpenEXR).
The 32 bit format is pure 'c' float stored in big endian binary format (IEEE 754 binary in floating point).
No specification of color space or metadata stored.
The maximum file size is governed by the file system.
подскажите неучу, а в пикселях, (высота\ширина) какой максимальный размер файла поддерживается?
nsigned long. диапазон чисел от 0 до 4,294,967,295. но что это значит