4 ms·
Pretty much everywhere where you're not forced to use PNG. JPEG is significantly smaller and on most devices faster to decode.
by izacus 10y ago
Pretty much everywhere where you're not forced to use PNG. JPEG is significantly smaller and on most devices faster to decode.
- jimboj 10y agoIt totally depends on the situation, JPEG isn't always smaller, and it's lossy unlike PNG. Flat colour images like logos will be smaller as PNG, and look better too. PNGs also support transparency.
- izacus 10y agoYes, this is kinda what I mean with "where you're not forced to use PNG". If you need transparency or you have tiny flat colored icons, PNG is better. For any kind of complex images JPEG tends to be even 10x or so smaller.