Download .JPG Sample Files

Jump to:     File Information     Download     How to Open

What is a JPG File?

A JPG (or JPEG) file is the most common image format for photos. It uses lossy compression that discards detail the eye barely notices, so photos become much smaller, and the quality setting lets you trade image quality for file size. JPEG was created by the Joint Photographic Experts Group and standardized in 1992; .jpg and .jpeg are the same format.

JPG files open in every browser, phone, camera and image editor. They do not support transparency or animation; for those, use PNG, WEBP or GIF.

Download JPG Sample Files

Below you will find JPG sample images in four sizes, from 640 pixels wide up to 4K.

[71.7 KiB]
[226.2 KiB]
[469.7 KiB]

JPG Sample File Details

SampleDimensionsFile size
Sample 640×427640 × 427 px71.7 KB
Sample 1280×8531280 × 853 px226 KB
Sample 1920×12801920 × 1280 px470 KB
Sample 3840×21603840 × 2160 px1.66 MB

All four are progressive JPEGs, which load in increasing detail, with 8-bit RGB color, a JFIF 1.01 header at 72 dpi and an embedded ICC color profile. They contain no EXIF metadata. Our JFIF samples come in the same sizes as baseline (non-progressive) JPEGs.

What You Can Test With These JPG Files

  • Uploads: image forms and APIs that accept image/jpeg.
  • Resizing and thumbnails: four sizes up to 3840 × 2160.
  • Progressive loading: how browsers and apps display progressive JPEGs.
  • Compression: optimizers and quality settings, compared against the originals.
  • Color management: each file carries an ICC profile.

How to Inspect or Resize a JPG File

# Show the image details with ImageMagick
magick identify -verbose sample-640x427.jpg

# Resize to half size at quality 85
magick sample-3840x2160.jpg -resize 50% -quality 85 smaller.jpg

# Python with Pillow
from PIL import Image
print(Image.open("sample-640x427.jpg").size)  # (640, 427)

JPG vs Other Image Formats

FormatCompressionTransparencyBest for
JPGLossyNoPhotos
PNGLosslessYesLogos, screenshots, graphics
WEBPLossy or losslessYesWeb images
HEICHEVC, lossyYesiPhone photos
GIFLossless, 256 colorsYes, one colorSimple animations