Images · 3 minute read
Choosing an image format
Image formats make different trade-offs between file size, detail, and compatibility. The best choice depends on the image and where it will be used.
Photographs
JPEG remains widely compatible and usually makes photographs compact. WebP can produce smaller files at similar visual quality when the target application supports it.
Diagrams and screenshots
PNG preserves hard edges and text without the block artifacts often visible in JPEG screenshots. For logos and simple shapes, SVG stays sharp at different sizes because it stores geometry rather than pixels.
Before exporting
Choose the final display dimensions first. A well-sized image often saves more space than changing the format alone. Keep an original copy if you expect to edit it later.