Modern graphic file formats 0 ▲ Victor Kropp 1 hour ago · Tech · hide · 0 comments For years, there were just two image formats available on the Web: JPEG and GIF. One for lossy images (e.g. photos), one for lossless (e.g. icons). Then came PNG. It was lossless, meant to replace GIF. It added transparency and better compression, which lead to smaller size, but dropped animation. (Yes, there was APNG, but it was never properly supported anywhere) And those three were everywhere for decade or more. There were multiple attempts to improve compression even further. For example, Google’s Guetzli for JPEG images. But all improvements were still limited by fundamental constraints of those formats, one needed to choose either lossless or lossy compression. What if we don’t need to choose? There are now not one, but two formats, that can efficiently handle both 12MP photos and 16×16 icons. WebP is slightly older and supported more widely, AVIF is even more compact, and has wide enough support in modern browsers. They both support transparency, which previously was limited to… No comments yet. Log in to reply on the Fediverse. Comments will appear here.