There are two types of RIFF device-independent bitmap (RDIB) formats:
To ensure that the maximum number of programs will accept an RDIB file, programs that adopt the extended RDIB format also must accept simple RDIB files. Both formats are described in the following sections.