webp

1 posts

discord

Modern Image Formats at Discord: Supporting WebP and AVIF (opens in new tab)

Discord’s Media Infrastructure team has modernized its image pipeline by integrating support for animated WebP and AVIF formats across its entire platform. This update ensures that attachments, embeds, and animated emojis are delivered using high-efficiency codecs that maintain visual fidelity while minimizing resource consumption. By adopting these modern standards, Discord has optimized the balance between high-quality animation and fast, cross-platform playback performance. **Expansion of Format Support** * Native support for animated WebP and AVIF has been added for all user-generated attachments and embedded media. * The platform has transitioned all animated emojis to serve as animated WebP, ensuring a consistent viewing experience across desktop, web, and mobile clients. * The pipeline update allows for a unified delivery system that handles modern media containers seamlessly across different device architectures. **Performance and Infrastructure Benefits** * The shift to modern codecs has resulted in a drastic decrease in file sizes, which directly translates to faster loading times for users on limited bandwidth. * Enhanced playback performance reduces the computational overhead required to render complex animations. * Higher visual quality is maintained even at lower bitrates, allowing for richer media experiences without increasing data costs. For developers and platforms managing high-volume media assets, transitioning to animated WebP and AVIF represents a necessary evolution to meet modern performance expectations. Implementing these formats provides a scalable way to deliver high-fidelity content while significantly reducing storage and bandwidth requirements.