JPG, PNG, WebP or AVIF?
Choose an image format by looking at the subject, the software that needs to open it and any future editing requirements.
Photographs and broad compatibility
JPG is a practical delivery format for photographs, forms and email attachments. It blends colors efficiently in natural scenes. Its weaknesses become visible around hard edges and small lettering. A JPG has no transparent pixels, so choose a background color when converting a cutout or logo.
Illustrations, screenshots and cutouts
PNG preserves sharp pixel boundaries and supports partially transparent edges. It works well for screenshots of text or a diagram with a small range of colors. A full-frame camera photo saved as PNG can be much larger. Converting a damaged JPG to PNG preserves the decoded image, including the existing compression artifacts.
Compare modern delivery formats
WebP and AVIF both support alpha transparency and can make compact web photographs. Test an export on your actual receiving device or application. Some software displays a format it cannot create. For a website, a picture element can offer AVIF or WebP first and a JPG or PNG fallback. Compare the actual files before settling on a default.