JPG Sample Files
JPG/JPEG is the most common image file type used today. A JPG is a raster image type, meaning it is created pixel by pixel, which differs to a vector format which plots shapes on a canvas. JPGs cannot be resized to be larger than their original size without loss of quality because of this. JPGs are commonly used for images on the internet due to the great support for the file type and the compression capabilities of the file.
Back to Example image filesDownload JPG Sample Files
| File | File type | File size | Dimensions (pixels) | Mime type | Download example file |
|---|---|---|---|---|---|
| JPG (500x500) Example File Download | JPG | 47 KB | 500x500 | image/jpeg | Download example file |
| JPG (1024x1024) Example File Download | JPG | 115 KB | 1024x1024 | image/jpeg | Download example file |
| JPG (2048x2048) Example File Download | JPG | 256 KB | 2048x2048 | image/jpeg | Download example file |
| JPG Sample - 800x600 | JPG | 19 KB | 800 x 600 | image/jpeg | Download example file |
What is a JPG file?
JPG (or JPEG) is the standard format for photographs and other detailed images. It uses lossy compression, which keeps file sizes small at the cost of some fine detail, and it does not support transparency. For photographic content on the web, JPG is still the most common choice.
How these sample JPG files were made
Each image is generated with PHP's GD library as a diagonal blue-to-purple gradient with a labelled border showing its dimensions. They are exported at JPEG quality 85, a good balance of size and clarity, in square sizes from 500x500 up to 2048x2048 plus an 800x600 variant. The dimensions in the table above let you pick the right size for your test.
Technical details
JPG uses DCT-based lossy compression and stores 24-bit colour with no alpha channel. Re-saving a JPG repeatedly degrades it further, so it is best used for final images rather than as a working format.
Common uses
Use these files to test photo uploads, responsive and lazy-loaded images, thumbnail generation, or as placeholder imagery in a layout.