Binary file formats

Farbfeld size and header

Calculate uncompressed farbfeld size and export its 16-byte header.

Your inputs

Start with an example

Your inputs stay in your browser.

Your result

Example result

How it works

The header is farbfeld followed by two big-endian 32-bit dimensions. Each pixel uses four unsigned 16-bit channels: eight bytes.

A 2×3 image uses 16+2×3×8 = 64 bytes.

Limits

This exports the header only, without pixel data. Supported input dimensions are 1 to 1,000,000 per axis.