Skip to main content

Image Formats

DomShot supports three image formats. Choose based on your use case: lossless quality (PNG), smaller file size (JPEG/WebP), or modern web optimization (WebP).

Format comparison

PNG

Lossless compression with perfect quality. Best for screenshots containing text, UI elements, or when you need transparency.
bash
Characteristics:
  • Largest file size
  • No quality loss
  • Supports transparency
  • Universal compatibility

JPEG

Lossy compression optimized for photographic content. Smaller files with adjustable quality.
bash
Characteristics:
  • Smaller file size than PNG
  • Adjustable quality (1-100, default: 100)
  • No transparency support
  • Best for photos and complex graphics

WebP

Modern format with excellent compression ratio. Ideal for web applications and storage optimization.
bash
Characteristics:
  • Best compression ratio
  • Adjustable quality (1-100, default: 100)
  • Supports transparency
  • Modern browser support

Quality parameter

The quality parameter controls compression for JPEG and WebP formats:
Quality settings do not apply to PNG format since it uses lossless compression.

Recommendations

Choose your format based on your primary need:

Parameters

See also