next up previous contents
Next: 2.3 Storage formats Up: 2. The VIPS file Previous: 2.1 VIPS file header   Contents

2.2 Computation formats

This type of image has Coding set to IM_CODING_NONE. The header is then followed by a large array of pixels, laid out left-to-right, top-to-bottom. Each pixel contains the specified number of bands. Each band has the specified band format, which may be an 8-, 16- or 32-bit integer (either signed or unsigned), a single or double precision IEEE floating point number, or a pair of single or double precision floats forming a complex number.

All values are stored in the host-machine's native number representation (that is, either most-significant first, as in SPARC and 680x0 machines, or least-significant first, for Intel and DEC machines). The VIPS library will automatically byte-swap for you if necessary, but this can be slow.



John Cupitt 2004-11-02