Provides options for saving Avif images.
public class CodecsAvifSaveOptions
@interface LTCodecsAvifSaveOptions : NSObject
public:
ref class CodecsAvifSaveOptions
class CodecsAvifSaveOptions:
Example
private static void TestSaveAvif()
{
string srcFile = @"dunes.bmp";
string dstFile = @"out.avif";
using (RasterCodecs codecs = new RasterCodecs())
using (RasterImage image = codecs.Load(srcFile))
{
codecs.Options.Avif.Save.QualityFactor = 15;
CodecsAvifSaveOptions saveOptions = codecs.Options.Avif.Save;
saveOptions.SaveWithStamp = true;
saveOptions.StampWidth = 120;
saveOptions.StampHeight = 96;
codecs.Options.Save.AdjustStampSize = true;
codecs.Save(image, dstFile, RasterImageFormat.Avif, 0);
}
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document