Skip to content

Lossy Data Conversion

A completed change of data representation drops a distinction present in the source, so the converted result alone cannot recover it.

Version
v1 · 2026-10-17 · History
Domain-specific #
14214
Domain group
Applied Sciences & Engineering
Origin domain
Computer Science & Software Engineering
Subdomains
Data Conversion, Digital Preservation → Computer Science & Software Engineering
Aliases
Lossy conversion

Core Idea

A lossy data conversion changes source data into a target type or format and produces a result that cannot, by itself, recover at least one distinction the source contained. The loss can be rounded numeric precision or a dropped document feature. The key is the actual conversion result: a target type's limited capacity is only a warning until a particular input loses something. A retained original or sidecar may preserve information elsewhere, but it does not put that information back into the converted result.[1][2]

How would you explain it like I'm…

The Black-Pencil Copy

Imagine you have a colorful drawing and you make a copy with a black-and-white copier. The copy still shows the picture, but the colors are gone, and looking only at the copy, you can't tell what color anything was. Changing information from one form to another in a way that loses something like that is lossy data conversion.

Changing Form, Losing Details

Computers often change data from one form to another, like turning a fancy document into plain text, or a number with decimals into a whole number. The conversion is lossy if the result no longer has some detail the original had. A simple test: if two different originals would turn into exactly the same result, then from the result alone you can't tell which one you started with. Saving a document as plain text, for example, throws away pictures and bold letters. Not every conversion loses something, though; it depends on the actual data.

Lossy Data Conversion

Lossy data conversion is a completed change of data from one representation to another where the result no longer carries a distinction that was in the source, for example by rounding a number, cutting off part of a field, or dropping formatting from a document. The test is whether you can reconstruct the source's distinction from the result alone: if two different starting values produce the same result, the result can't tell you which one you started with. This is about the result by itself; you might still have the original saved somewhere else. A mismatch between formats doesn't automatically mean loss in every case: converting an int to a float in Java is exact for some values but rounds others. And a conversion that simply fails, producing no output, is a different kind of event.

 

Lossy data conversion is a completed transformation from one data representation to another in which the actual result no longer carries a distinction present in the actual source, through rounding, truncation, or dropping features such as formatting. The decisive test is target-only recoverability: if two admissible source states differing in that distinction map to the same result, the conversion is non-injective there and the result cannot identify its predecessor. The claim concerns what the result alone determines, not whether a retained original or separate sidecar file still exists. A difference in expressive capacity between source and target types makes loss possible but does not establish it for every instance; Java's int-to-float conversion is exact for some values and rounds others, and the language specification shows a case whose round trip back to int differs from the start. Similarly, saving a Word document as Plain Text drops formatting, macros and graphics, but a given file is an actual loss case only if it contained such features. A conversion request that fails without producing target data is a distinct event.

Scope of Application

The pattern applies when a particular conversion produces target data that omits a present source distinction.

  • Numeric values: Java's worked int-to-float conversion loses precision, as the -46 return difference shows.[1]
  • Feature-bearing documents: Word's Plain Text export drops formatting, macro code, or graphics present in the source.[2]

Clarity

Ask what distinction the input really contained, what the converter produced, and whether that output alone determines the original distinction. A return conversion can reveal a mismatch, but byte differences alone need not mean data-model loss. The W3C's XML/binary-XML round-trip methodology distinguishes byte-exact copies from lossless equivalents within that specific format setting.[1][3]

The Word example is conditional on a feature-bearing source, not a report of one observed named document.[2]

Digital-preservation format migration can lose different amounts of content, formatting, and functionality depending on the formats and source; migration by itself does not guarantee a loss.[4]

Manages Complexity

The fidelity audit becomes four checks: source features → target capacity → actual conversion → target-only recovery. If a necessary feature cannot fit the target, choose a richer target or retain the source outside the converted result. If the target could carry it but a particular converter discards it, the converter or settings may need change. These are diagnostic options, not claims that the cited Java or Word examples were repaired.[1][2]

Abstract Reasoning

Before calling a conversion lossy, name the preservation criterion and inspect the particular input. Then check the output against that criterion. Java's worked integer example establishes an actual loss; a Word-to-text example does so only when the source contained a feature the text output drops. A conversion request that fails without target data is not a completed lossy conversion for that input.[1][2]

Knowledge Transfer

Numeric casts and document exports use different formats but the same test: source distinction, target result, and failed recovery from that result alone. The broader Transformation pattern overlaps where a conversion preserves some source property while altering form, but a target result can drop all substantive source features. That is why the two patterns should not be treated as interchangeable.

Neighborhood in Abstraction Space

Lossy Data Conversion sits in a moderately populated region (53rd percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Program Execution & Runtime Concepts (34 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Oracle. Java Language Specification Java SE 26 Chapter 5 Conversions and Contexts. Especially the opening examples, §5.1.2 and Example 5.1.2-1, and §5.1.3. Official full HTML inspected; the worked int-to-float round trip prints -46. registry ↩a ↩b ↩c ↩d ↩e

[2] Microsoft. How to troubleshoot damaged documents in Word. Method 6, Step 4 and following Note. Official full HTML inspected; Plain Text save drops formatting, macro code, and graphics. Here this supports a conditional feature-bearing document case, not a named observed conversion. registry ↩a ↩b ↩c ↩d ↩e

[3] W3C XML Binary Characterization Working Group. “XML Binary Characterization Measurement Methodologies,” §6.14, Round Trip Support. https://www.w3.org/TR/xbc-measurement/. W3C Working Group Note inspected in full; its exact-byte versus lossless-equivalence distinction is used only for XML/binary-XML round-trip methodology. registry ↩

[4] PREMIS Editorial Committee. PREMIS Data Dictionary for Preservation Metadata version 3.0. Glossary, “Migration,” printed p. 270. Official full PDF inspected; migration creates a new-format version and loss varies by format and content type. registry ↩