osu-framework icon indicating copy to clipboard operation
osu-framework copied to clipboard

Support AVIF images

Open NexusXe opened this issue 3 years ago • 1 comments

AVIF images, though somewhat rare, provide better quality per size than legacy JPEG. Supporting this format for future and current use would be helpful, especially for applications that take images from the web. In many cases, it's faster to get and decode AVIF than it is to do the same for a JPEG, whilst providing rather significant fidelity improvements.

Also, support of AVIF/AV1 opens the door for future hardware acceleration, once such hardware reaches the mainstream (especially in mobile SOCs!)

NexusXe avatar Aug 19 '22 18:08 NexusXe

osu!framework uses ImageSharp to load textures/images, so once ImageSharp supports AVIF, I'm sure it will also be supported here. The discussion in the ImageSharp repo is here https://github.com/SixLabors/ImageSharp/discussions/1320.

Jumprocks1 avatar Aug 24 '22 00:08 Jumprocks1