Format · JPEG

JPEG

Use JPEG for opaque photographic images where adjustable lossy compression is useful.

JPEG is a practical format for opaque photographs. Its quality value trades file size against visible compression; the Rastry pipeline accepts integer quality from 1 to 100.

Convert to JPEG

Terminal window
rastry photo.png --to jpeg --quality 84 --dry-run

JPEG does not preserve transparency. If the source uses an alpha channel, add a solid padding background or choose PNG or WebP when transparency is part of the design.

Related reading