Skip to content
Novus Examples
jpg3.1 KB

Intentionally Corrupt — Truncated JPEG

An intentionally corrupt JPEG, truncated to half its bytes, for testing how a decoder handles incomplete image data. This is not a valid image by design.

Preview of Intentionally Corrupt — Truncated JPEG

Specifications

Width
400
Height
300
Corruption
truncated to 50% of bytes
Intentionally Corrupt
true

What is a .jpg file?

JPG is the common extension for JPEG, a lossy raster format that uses discrete cosine transform compression tuned for photographic images. It is 8-bit truecolor with no alpha channel, and quality is traded against file size via a compression factor. It is ubiquitous for photos on the web and from cameras.

How to use this file

Use an example JPG to test decoders, EXIF/metadata parsers, re-encoding quality, and orientation handling, or to confirm converters and image pipelines process baseline and progressive scans correctly.

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