SammaPix

Reference

Image Optimization Glossary

Plain-English definitions for every image format, compression concept, and metadata term you will encounter while working with digital photos and web images. 35 terms, arranged alphabetically.

35 terms defined·Formats, compression, metadata, color·Updated March 2026
A

Alpha Channel

The alpha channel is a fourth data channel in an image that controls per-pixel transparency, alongside the three color channels (Red, Green, Blue). A pixel with an alpha value of 0 is fully transparent; a value of 255 (or 100%) is fully opaque. Formats that support alpha channels include PNG, WebP, and AVIF — JPEG does not.

Aspect Ratio

Aspect ratio is the proportional relationship between an image's width and height, expressed as two numbers separated by a colon — for example, 16:9 or 4:3. Maintaining the correct aspect ratio when resizing prevents distortion and ensures images display correctly across platforms. Social media platforms and video formats each have their own required ratios.

AVIF

AVIF (AV1 Image File Format) is a modern image format derived from the AV1 video codec. It offers superior compression compared to both JPEG and WebP — typically 50% smaller file sizes at equivalent visual quality — and supports HDR, wide color gamut, and transparency. Browser support is strong as of 2026, though encoding can be slower than WebP.

B

Batch Processing

Batch processing applies the same operation — compression, format conversion, renaming, resizing — to a group of images simultaneously rather than one at a time. It is essential for photographers managing post-shoot workflows where hundreds of files need to be processed consistently. SammaPix performs all batch operations directly in the browser, so no files are uploaded to a server.

Bit Depth

Bit depth (also called color depth) defines how many bits are used to represent the color of a single pixel, which determines the total number of possible colors. An 8-bit image can display 256 values per channel (16.7 million colors total); a 16-bit image can display 65,536 values per channel. Higher bit depth results in smoother gradients and more editing headroom in RAW files.

C

Chroma Subsampling

Chroma subsampling is a compression technique that reduces color information while preserving luminance (brightness) detail, exploiting the human eye's lower sensitivity to color resolution. Common ratios are 4:4:4 (no subsampling), 4:2:2 (half horizontal color resolution), and 4:2:0 (quarter color resolution, used in most JPEGs). It is a major contributor to JPEG's file size reduction with minimal visible quality loss.

Color Space

A color space defines the range of colors (gamut) and the mathematical model used to represent them. sRGB is the standard for web and screen display; Adobe RGB and Display P3 cover wider gamuts used in print and professional editing; ProPhoto RGB is the widest, used internally in photo editors. Publishing images in the wrong color space can cause washed-out or oversaturated colors on screen.

Compression Ratio

Compression ratio is the ratio of the original file size to the compressed file size. A compression ratio of 10:1 means a 10 MB original becomes 1 MB after compression. Higher ratios mean smaller files but typically more quality loss (for lossy formats) or longer encoding time (for lossless formats). The goal of image optimization is to achieve the highest compression ratio that remains imperceptible to the viewer.

Crop Ratio

A crop ratio describes the aspect ratio applied when cropping an image — the proportion of width to height retained after cutting. Common crop ratios include 1:1 (square, for Instagram), 16:9 (widescreen, for YouTube), and 4:3 (standard photo). Cropping to a preset ratio ensures consistency across a gallery or content series without manual calculation.

D

DPI / PPI

DPI (dots per inch) describes print output resolution — how many ink dots a printer places per inch. PPI (pixels per inch) describes screen resolution — how many pixels exist within one inch of a display. For web images, PPI is largely irrelevant because browsers render images based on pixel dimensions, not PPI. A 72 PPI web image and a 300 PPI print image are identical on screen if they share the same pixel dimensions.

E

EXIF Data

EXIF (Exchangeable Image File Format) data is metadata embedded in image files by cameras and smartphones. It records technical details like shutter speed, aperture, ISO, lens focal length, camera model, and — critically for privacy — GPS coordinates of where the photo was taken. Sharing images with GPS EXIF data intact can reveal your home address or travel patterns to anyone who views the file.

F

File Size

File size is the amount of storage space an image file occupies, measured in bytes, kilobytes (KB), or megabytes (MB). For web use, smaller file sizes directly reduce page load times and bandwidth consumption. The relationship between image dimensions and file size is not linear — doubling the pixel dimensions quadruples the number of pixels and roughly quadruples the file size before compression.

G

GIF

GIF (Graphics Interchange Format) is a bitmap format from 1987 that supports simple frame-by-frame animation and a palette limited to 256 colors. Despite its age, GIF remains popular for short looping animations on the web and in messaging apps. For static images, PNG is strictly superior; for video-like animations, modern alternatives like WebP animation or MP4 video offer far smaller file sizes.

GPS Metadata

GPS metadata is a subset of EXIF data that records the precise latitude and longitude coordinates where a photograph was captured. Most modern smartphones embed this information automatically. While useful for organizing travel photos, GPS metadata poses a significant privacy risk when sharing images publicly — anyone can extract the coordinates and locate your home, office, or exact shooting location.

H

Haversine Formula

The Haversine formula is a mathematical equation used to calculate the great-circle distance between two points on a sphere given their latitude and longitude coordinates. In image processing, it powers GPS-based photo sorting and clustering tools that group photographs by geographic proximity — for example, identifying all photos taken within a specific country or within a 10 km radius of a landmark.

HEIC / HEIF

HEIC (High Efficiency Image Container) is Apple's implementation of the HEIF (High Efficiency Image Format) standard. iPhones have used HEIC as the default capture format since iOS 11. HEIC images are typically half the size of equivalent JPEGs with the same visual quality. The format supports 16-bit color and Live Photos, but compatibility is limited outside Apple ecosystems — most web platforms and Android devices require conversion to JPEG or WebP.

I

ICC Profile

An ICC (International Color Consortium) profile is a standardized file embedded in an image that defines its color space — the gamut and tonal range it was captured or edited in. When you open an image in a color-managed application, the ICC profile tells the app how to interpret the raw color values. Stripping ICC profiles during compression can cause color shifts, particularly in images edited in Adobe RGB or Display P3.

J

JPEG / JPG

JPEG (Joint Photographic Experts Group) is the most widely used image format in the world, introduced in 1992. It uses lossy DCT (Discrete Cosine Transform) compression that achieves excellent file size reductions for photographs by discarding imperceptible detail. Quality settings typically range from 0–100; values between 75–85 offer the best balance of visual fidelity and file size for web publishing.

L

Lossless Compression

Lossless compression reduces file size without discarding any image data — the decompressed image is bit-for-bit identical to the original. Formats like PNG and WebP lossless use algorithms (Deflate, LZ77) that find and encode redundant patterns. Lossless compression is preferred for graphics with flat colors, text, logos, and screenshots where any quality degradation is visible, but results in larger files than lossy compression for photographs.

Lossy Compression

Lossy compression permanently discards image data that is considered imperceptible to the human eye, achieving much higher compression ratios than lossless methods. JPEG, WebP (lossy), and AVIF all use lossy compression. Each subsequent save of a lossy image compounds the quality loss — a process sometimes called 'generation loss.' The key metric is finding the minimum quality setting where degradation is invisible to viewers.

M

Metadata

Image metadata is structured data embedded inside an image file that describes the image itself rather than its visual content. It encompasses several standards: EXIF (camera settings and GPS), IPTC (editorial data like captions and copyright), and XMP (an Adobe-developed extensible format). Metadata is invisible when viewing an image but can be read by any metadata-aware application or browser.

P

Perceptual Hashing

Perceptual hashing (pHash) generates a compact fingerprint of an image based on its visual content rather than its raw bytes. Unlike cryptographic hashes (MD5, SHA1) that change entirely with any pixel difference, perceptual hashes of visually similar images produce similar or identical values. This makes them ideal for duplicate photo detection — two versions of the same image at different sizes or quality levels will share nearly identical pHash values.

Pixel

A pixel (picture element) is the smallest addressable unit of a raster image, representing a single color value. In an RGB image, each pixel stores three channel values (0–255 for 8-bit). A 3000 x 2000 pixel image contains exactly 6 million pixels — 6 megapixels. Pixel count does not directly determine file size, which also depends on the format, compression level, and content complexity of the image.

PNG

PNG (Portable Network Graphics) is a lossless raster format introduced in 1996 as a patent-free alternative to GIF. It supports full RGB color, alpha channel transparency, and both 8-bit and 16-bit color depth. PNG is optimal for screenshots, logos, illustrations, and any image where sharpness or transparency is required. For photographs, PNG files are typically 5–10x larger than equivalent JPEGs, making WebP or AVIF a better choice.

Progressive JPEG

A progressive JPEG loads in multiple passes, showing a low-resolution version of the entire image first, then progressively refining it with each subsequent scan until full quality is reached. This contrasts with baseline JPEGs that load from top to bottom in a single pass. Progressive JPEGs are often slightly smaller than baseline equivalents and deliver a better perceived loading experience, which matters for Core Web Vitals (LCP).

Q

Quality Factor

The quality factor (typically a scale of 0–100) controls the compression aggressiveness applied to lossy formats like JPEG and WebP. A quality of 100 preserves the most detail with the largest file; a quality of 0 creates the smallest file with heavy artifacting. For web use, quality 75–85 for JPEG and 75–80 for WebP typically achieves the optimal tradeoff — invisible quality loss with significant file size reduction.

R

RAW

A RAW file is unprocessed sensor data captured directly by a digital camera with minimal in-camera processing applied. Unlike JPEG, which is processed and compressed in-camera, RAW preserves all captured data: full bit depth, pre-white-balance color data, and no lossy compression. Common RAW formats include CR3 (Canon), ARW (Sony), NEF (Nikon), and DNG (universal). RAW files require dedicated editing software and are not suitable for web publishing without conversion.

Resolution

Image resolution describes the level of detail in an image, typically expressed as total pixel dimensions (e.g., 3000 x 2000 pixels) or megapixels (6 MP). Higher resolution means more pixels and greater detail, but also larger file sizes. For web use, resolution requirements depend on display size — a full-width desktop hero image needs around 1920 px wide; a thumbnail might only need 400 px. Serving images at exactly the required resolution (not larger) is a core web optimization technique.

Resize

Resizing an image changes its pixel dimensions — either upscaling (increasing size) or downscaling (reducing size). Downscaling always reduces file size and is lossless in information terms for the output use case. Upscaling beyond the original resolution introduces interpolation artifacts because pixel data must be invented. For web performance, serving images at the exact display dimensions rather than relying on CSS to scale them down is a significant optimization.

S

sRGB

sRGB (standard Red Green Blue) is the standard color space defined by HP and Microsoft in 1996 for monitors, web browsers, and consumer cameras. It covers approximately 35% of visible human color. All web browsers assume images without an embedded ICC profile are sRGB. Photographers who edit in Adobe RGB or Display P3 must convert to sRGB before publishing to the web to avoid washed-out color on standard displays.

SVG

SVG (Scalable Vector Graphics) is an XML-based vector format that describes images using mathematical paths, shapes, and text rather than pixels. SVGs scale perfectly to any size without loss of quality, making them ideal for logos, icons, and illustrations. Unlike raster formats (JPEG, PNG, WebP), SVG file size is determined by the complexity of the paths, not the display dimensions. SVG files can be embedded directly in HTML and styled with CSS.

T

Thumbnail

A thumbnail is a small preview version of a larger image, typically used in galleries, search results, product listings, and social media cards. Thumbnails are generated by downscaling the original to a fixed or maximum dimension — common sizes include 150x150, 300x300, or 400x300 pixels. Serving thumbnails instead of scaled-down full images is a core web performance optimization that can reduce page weight by 80–95% for image-heavy pages.

Transparency

Transparency in image formats allows pixels to be fully or partially see-through, so the background or content behind the image shows through. It is implemented via the alpha channel. JPEG does not support transparency; PNG, WebP, AVIF, and GIF (binary transparency only) all do. Transparency is essential for logos, cutout product photos, overlays, and any image placed on a non-white background.

W

Watermark

A watermark is a visible or invisible mark overlaid on an image to indicate ownership, copyright, or branding. Visible watermarks are typically text or logos embedded semi-transparently over the image content to deter unauthorized use. Invisible (steganographic) watermarks embed data imperceptibly in pixel values for forensic identification. Batch watermarking — applying a consistent mark to hundreds of images at once — is essential for photographers distributing work online.

WebP

WebP is a modern image format developed by Google, released in 2010 and widely supported since 2022. It supports both lossy and lossless compression, transparency (alpha channel), and animation. Lossy WebP files are 25–35% smaller than equivalent JPEGs; lossless WebP is 26% smaller than equivalent PNGs. WebP is now the recommended default format for web images and is supported by all major browsers.

Put the theory to work

Every term in this glossary maps to something you can do right now. Compress, convert, strip EXIF data, or find duplicates — all free, all in the browser, no upload required.

Related reading