jpg
What is a .jpg file?
image/jpeg
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 a .jpg 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.
Download example .jpg files
- Format Set — Fruit Still Life (JPG)A 1024×1024 fruit still life exported as JPG — one member of a conversion set that carries identical content across formats, so you can convert one and diff against the others.
- EXIF Orientation 1 (normal)A JPEG whose pixels are stored identically but whose EXIF Orientation tag is set to 1 (normal). Tests whether your tool honours orientation metadata.
- EXIF Orientation 2 (mirror horizontal)A JPEG whose pixels are stored identically but whose EXIF Orientation tag is set to 2 (mirror horizontal). Tests whether your tool honours orientation metadata.
- EXIF Orientation 3 (rotate 180°)A JPEG whose pixels are stored identically but whose EXIF Orientation tag is set to 3 (rotate 180°). Tests whether your tool honours orientation metadata.
- EXIF Orientation 4 (mirror vertical)A JPEG whose pixels are stored identically but whose EXIF Orientation tag is set to 4 (mirror vertical). Tests whether your tool honours orientation metadata.
- EXIF Orientation 5 (mirror + rotate 90° CCW)A JPEG whose pixels are stored identically but whose EXIF Orientation tag is set to 5 (mirror + rotate 90° CCW). Tests whether your tool honours orientation metadata.
- EXIF Orientation 6 (rotate 90° CW)A JPEG whose pixels are stored identically but whose EXIF Orientation tag is set to 6 (rotate 90° CW). Tests whether your tool honours orientation metadata.
- EXIF Orientation 7 (mirror + rotate 90° CW)A JPEG whose pixels are stored identically but whose EXIF Orientation tag is set to 7 (mirror + rotate 90° CW). Tests whether your tool honours orientation metadata.
and 12 more in the library.