Format reference
JPEG
JPEG is a family of still-image coding standards commonly used to store compact photographic images.
Quick reference
- Family
- Raster image
- Extensions
- .jpg · .jpeg
- MIME type
- image/jpeg
- Identification
- FF D8 FF — common start-of-image and following marker prefix
- Compression
- Ordinary photographic JPEG uses lossy DCT-based coding; JPEG 1 also defines less-common coding processes.
- Alpha / transparency
- No ordinary alpha channel
- Animation / multiple images
- No standard animation in ordinary JPEG
JPEG is a family of still-image coding standards commonly used to store compact photographic images.
Photographic encoding and the JPEG family
The familiar JPG used by cameras and websites reduces photographic data through transform-based compression. A quality setting trades encoded size against changed detail; it is not a standardized percentage of original quality. JPG and JPEG extensions commonly identify the same kind of file.
Ordinary JPEG works well with continuous tones. Sharp colored lettering and hard edges can reveal ringing or block artifacts. It does not provide an ordinary transparency plane or timed animation. The broader JPEG standards should not be confused with every feature supported by a typical JPG viewer.
Embedded information travels separately from appearance
JFIF describes interchange conventions. EXIF can carry capture information, GPS, MakerNotes and a thumbnail; IPTC, XMP and ICC occur in the wider JPEG application-marker ecosystem. An image can contain several of these groups.
JPEG workflows available in PRVKIT
Compress Image supports quality-based and measured target-size output. Target-size tools reuse that compressor; they report when a size cannot be reached under the chosen constraints.
Resize and Convert Image accept supported still JPEG images. Image Inspector reports supported metadata; Remove Metadata re-encodes and inspects its actual output. Compare Images compares decoded pixels rather than declaring two files semantically identical.
What changes during a conversion
Keep an original or editing master and create delivery copies from it. Converting an already compressed JPG to PNG preserves the decoded pixels, not detail previously removed by JPEG encoding.
In prvkit, changing dimensions changes the pixel grid; choosing JPG from transparent input fills a background. Browser re-encoding does not copy source metadata or preserve the original ICC profile. Compare the actual output at its intended display size.
Recognize the file beyond its extension
JPG and JPEG are familiar filename endings for the same common image family. They are not two quality levels. A file named with either extension still needs valid encoded data; changing the ending of a PNG or HEIC does not turn it into a JPEG. Signature inspection is useful when an attachment has been mislabeled, though a recognized header is not a complete validation of every structure.
The common photographic JPEG workflow is opaque and raster-based. It does not preserve an Editor's independent text and layers, and it does not offer an alpha channel for compositing a cutout over arbitrary backgrounds. A flattened white-background version can be useful for a catalogue, while a separate transparent master remains useful for future layouts.
Read artifacts where they affect the task
Photographic compression takes advantage of visual redundancy, but strong settings can make edges and fine texture less useful. Examine lettering on products, thin lines against a bright background, hair and textured shadows. A photograph may look convincing at thumbnail size while losing a small detail the recipient actually needs.
Use the intended display scale as the first comparison, then inspect critical regions more closely. Numerical difference alone cannot decide whether a delivery copy is acceptable. A small visible error in a digit can matter more than a broad but imperceptible tonal change. Keep that practical purpose separate from an abstract desire to minimize every byte.
Repeated exports deserve care. If one JPEG is opened, altered and encoded again, its existing artifacts become part of the next input. A new quality setting cannot recover data removed earlier. Keep a master and create alternate deliveries from it rather than building a chain in which each smaller copy is the source for the next.
Size targets are about content and dimensions too
A detailed forest scene and a clean studio portrait can have the same dimensions but very different encoding requirements. Noise, grain and fine repeated texture are expensive to represent. The source file's bytes therefore cannot predict an exact output size from a quality percentage alone.
When the destination needs fewer pixels, resizing can be a more useful tradeoff than keeping a large grid at an aggressive encoding setting. Preserve dimensions when the recipient requires them. PRVKIT's target search respects those choices and reports a missed target rather than pretending that every constraint can always be satisfied.
The format reference is not the tool's admission policy. Focused image tools generally apply their displayed file, pixel and edge limits, while larger batch products have separate budgets and qualified paths. A JPEG that another application can open can still be outside a particular browser workflow's allowed resources.
Keep technical properties and authenticity separate
EXIF dates, camera names and descriptive fields are stored claims, not proof of authorship or capture circumstances. A digest can establish equality with a trusted byte reference, but it does not establish that the scene is genuine. A photograph can also reveal a location through visible content after metadata has been removed.
Color is another independent question. A source may carry an ICC profile, while a simple browser re-encode may not preserve that profile as part of its output. Keep the original when a color-managed print or archival workflow depends on it. A JPEG delivery that looks right on one display is not universal proof of identical appearance elsewhere.
For a practical handoff, check the saved file's dimensions, orientation, actual format and necessary detail in the receiving application. Keep the editing source separate from the delivery copy, and choose PNG or WebP when transparency or another representation better serves the destination. No extension, by itself, certifies quality, privacy or provenance.
Metadata inspection coverage
prvkit tools
Target-size compression
The same compressor supports these existing size presets. A target may not be achievable under the chosen constraints.
Related reading
Technical sources
- IANA image/jpeg — Registered media type
- JPEG 1 overview — Coding processes and ICC ecosystem
- ITU-T T.81 — JPEG coding standard