DataBrighten

    Sample BMP images

    2files · 901 KB in all · CC0

    Uncompressed BMP images at 640×360: a 24-bit file, large for its size on purpose at 3 bytes per pixel, and an 8-bit file with a 256-colour palette at 1 byte per pixel. Free, no sign-up. Updated 19 November 2026.

    textnumberdateyes/no
    Files2to download
    Total size901 KBall files
    Format.bmpimage/bmp
    LicenceCC0use for anything

    What these files are

    Uncompressed BMP images at 640×360: a 24-bit file, large for its size on purpose at 3 bytes per pixel, and an 8-bit file with a 256-colour palette at 1 byte per pixel.

    Every file was generated by our own code, so nothing in them is copied from anyone, and we release them under CC0: use them for anything. The facts in the table were read back from each file after it was written, not typed in by hand.

    About the format

    BMP is the Windows bitmap format. It is usually uncompressed, so the file is close to width × height × 3 bytes for 24-bit colour, plus a 54-byte header and padding that makes each row a multiple of 4 bytes: 640 × 360 × 3 + 54 = 691,254 bytes for this sample. Rows are normally stored bottom to top.

    These files open in Windows Photos, Paint, GIMP and most browsers. A web server should send them with the header Content-Type: image/bmp.

    2 files to download

    FileSizeWhat it is
    sample-640x360.bmp675 KB640×360, 24-bit, uncompressed
    width: 640; height: 360; mode: RGB; format: BMP; frames: 1
    sample-640x360-8bit.bmp226 KB640×360, 8-bit with a 256-colour palette, uncompressed
    width: 640; height: 360; mode: P; format: BMP; frames: 1

    MIME type: image/bmp. Total 901 KB.

    Good for testing

    • Legacy image format support
    • Converting BMP to PNG
    • File size limits

    Check a file

    file sample-640x360.bmp

    Compare the SHA-256 checksum to make sure the download is complete and unchanged (sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows):

    FileSHA-256
    sample-640x360.bmpb4f9245e5304b729520666b30932b9fa953ed8c4007cc5ef953c899726a76874
    sample-640x360-8bit.bmp67b437fbbe27df2ab797f7cbcdaa86a833b8bd92cc420b64d5b33a565481d61e