Skip to content
Novus Examples
bin1.1 KB

Intentionally Corrupt DICOM-Shaped File — Pixel Data Truncated (.bin)

An intentionally corrupt DICOM-shaped file whose header, meta group and every non-pixel element are valid, and whose PixelData element declares a length the file does not contain. A viewer must report the short read rather than render a partial image padded with whatever it found.

Preview — schema + first 5 rowsbin
FieldValue
Damageintentionally corrupt — PixelData truncated
Declared pixel bytes2048
Bytes actually present200
Preamble and meta groupintact and valid
Expected behavioura short-read error naming (7FE0,0010), not a half-drawn image
Intentionally corrupt: every element parses until the pixel data runs out.

Specifications

Intentionally Corrupt
true
Damage
PixelData declares its full length but the file ends after 200 of those bytes
Declared Pixel Bytes
2048
Present Pixel Bytes
200
Header Intact
true
Contains PHI
false

Testing contract

Expected to fail
Scenario
Parse the file element by element and attempt to read PixelData at its declared length.
Expected result
All elements before (7FE0,0010) parse cleanly, then the pixel read fails with an explicit short-read error after 200 of the declared 2048 bytes.

What is a .bin file?

A .bin file is a generic binary blob with no specific format — raw bytes whose meaning depends entirely on the producing application (firmware images, memory dumps, serialized payloads). The extension signals only 'not text.'

How to use this file

Use an example .bin file to test binary/hex viewers, file-type sniffing, octet-stream handling, and download pipelines that must not corrupt arbitrary bytes.

How to use this file for testing

“Intentionally Corrupt DICOM-Shaped File — Pixel Data Truncated (.bin)” is a deterministic Novus Examples fixture for Scientific data, Error handling. Citation catalogs (BibTeX, RIS), chemistry structures (MDL Molfile, PDB), and gridded binary data (NetCDF, FITS) — for testing reference managers, molecule viewers, and scientific-data loaders.

Documented properties for this file: damage: PixelData declares its full length but the file ends after 200 of those bytes · intentionally corrupt. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Scientific fixtures are small, valid, and fully synthetic — no real organism, patient, sample, or observation. Point your parser or loader at the file and check it reads the documented records, variables, or headers; binary formats ship a readable twin or metadata listing for comparison.

Generated by generation/scientific.py. Free for any use, no attribution required — license.