Image guide
JPG vs PNG vs WebP
Understand which image format fits photos, graphics, transparency, and the modern web.

JPG, PNG, and WebP solve different problems. Pick based on the image content, whether transparency matters, and where the file will be used.
JPG for photographs
JPG uses lossy compression that works well on photos and natural scenes. It is broadly supported and often compact, but repeated saves can introduce visible artifacts and it does not support transparency.
PNG for precision
PNG uses lossless compression and preserves sharp edges, text, and transparent backgrounds. It is a good fit for logos, screenshots, and interface assets, though photographic PNGs can become very large.
WebP for web delivery
WebP supports lossy and lossless compression plus transparency. It often provides a smaller web download than JPG or PNG while retaining the features modern sites need.
