01
Formats with alpha
PNG and WebP can store an alpha channel, which describes opacity for every pixel. That allows soft shadows, antialiased edges, and partially transparent areas—not just fully visible or invisible pixels. JPG has no alpha channel, so it always represents a complete rectangular image.