OpenBMP now dispatches on the file: 24-bit BMP keeps the proven path
(OpenBMP24), 8-bit palette BMP decodes uncompressed and RLE8 (count/value,
end-of-line, end-of-bitmap, delta, absolute runs with word padding, top-down
and bottom-up), and the first image of a .ico decodes 1/4/8/24/32 bpp
(BGRA with alpha 0 composited onto the background; PNG-compressed icons are
refused because there is no PNG decoder). All three go through one RGB
buffer and SetImageRGB, which allocates distinct colours in one batch on
PseudoColor. Measured under Xvfb: ImageMagick's RLE8 160x100 gradient opens
and shows the gradient; a 64x64 32-bpp ICO opens with its four colours;
24-bit -selftest still passes.