JPG vs PNG
JPEG (JPG) uses lossy compression optimized for photographs — smaller files with some quality loss. PNG uses lossless compression and supports transparency, making it ideal for logos, screenshots, and UI assets with sharp edges.
When to use JPEG
Photos, hero images, and large backgrounds where small artifacts are acceptable. Export at 80–85% quality for a strong size/quality balance.
When to use PNG
Icons, diagrams, text-heavy graphics, and any image needing an alpha channel. PNG files are larger but stay crisp at any zoom level.