Skip to content

yassinMi/AvifLoader.Net

Repository files navigation

AvifLoader.Net

a simple .net wraper for https://github.com/AOMediaCodec/libavif

the native win-x64 libMiAvifJpgWraper.dll must be added manually to the project

usage

using AvifLoaderNET;

ImageSource imgSrc =  AvifLoader.AvifToImageSource("input.avif"); //uses the rgb pixels data

byte[] _ =  AvifLoader.AvifToJpeg("input.avif"); //converts to jpeg
File.WriteAllBytes("output.jpg", _);

About

Create BitmapSource from an Avif image file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages