LibreMetaverse.Imaging.Skia 3.4.0

Prefix Reserved
dotnet add package LibreMetaverse.Imaging.Skia --version 3.4.0
                    
NuGet\Install-Package LibreMetaverse.Imaging.Skia -Version 3.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LibreMetaverse.Imaging.Skia" Version="3.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LibreMetaverse.Imaging.Skia" Version="3.4.0" />
                    
Directory.Packages.props
<PackageReference Include="LibreMetaverse.Imaging.Skia" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LibreMetaverse.Imaging.Skia --version 3.4.0
                    
#r "nuget: LibreMetaverse.Imaging.Skia, 3.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LibreMetaverse.Imaging.Skia@3.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LibreMetaverse.Imaging.Skia&version=3.4.0
                    
Install as a Cake Addin
#tool nuget:?package=LibreMetaverse.Imaging.Skia&version=3.4.0
                    
Install as a Cake Tool
▗▖   ▄ ▗▖    ▄▄▄ ▗▞▀▚▖▗▖  ▗▖▗▞▀▚▖   ■  ▗▞▀▜▌▄   ▄ ▗▞▀▚▖ ▄▄▄ ▄▄▄ ▗▞▀▚▖
▐▌   ▄ ▐▌   █    ▐▛▀▀▘▐▛▚▞▜▌▐▛▀▀▘▗▄▟▙▄▖▝▚▄▟▌█   █ ▐▛▀▀▘█   ▀▄▄  ▐▛▀▀▘
▐▌   █ ▐▛▀▚▖█    ▝▚▄▄▖▐▌  ▐▌▝▚▄▄▖  ▐▌        ▀▄▀  ▝▚▄▄▖█   ▄▄▄▀ ▝▚▄▄▖
▐▙▄▄▖█ ▐▙▄▞▘          ▐▌  ▐▌       ▐▌                                
                                   ▐▌                                

LibreMetaverse.Imaging.Skia

A working image codec for LibreMetaverse, built on SkiaSharp. It reads the everyday picture formats and gives back the library's own ManagedImage, so the model loaders and the prim mesher can use textures that come as PNG, JPEG or BMP files.

  Archiving · Utilities · Voice.Vivox · Voice.WebRTC
      │  built on the client
  LibreMetaverse   the client: login, managers, inventory
      │
  Transport        UDP socket, reliable circuit, throttle
      │
  Protocol         packets and capability messages
      │
  Assets           the offline data model
      ├── ModelFormats · Rendering.MeshFoundry · Rendering.Simple
      │
  StructuredData · Imaging.Abstractions
      │
  Types            UUID, vectors, quaternions, colors

  on their own: PrimMesher · [Imaging.Skia] · RLV · LslTools

This package sits beside the stack rather than in it: it needs only LibreMetaverse.Imaging.Abstractions.

What is in it

SkiaTextureCodec, an ITextureCodec. Decode a stream, get a ManagedImage with its red, green, blue and alpha channels filled in. SkiaTextureCodec.ToManagedImage converts a SkiaSharp bitmap you already have.

Example

using LibreMetaverse.Imaging;
using LibreMetaverse.Imaging.Skia;

ITextureCodec codec = new SkiaTextureCodec();
using FileStream file = File.OpenRead("texture.png");
ManagedImage image = codec.Decode(file);
Console.WriteLine($"{image.Width}x{image.Height} {image.Channels}");

Hand the same codec to new GltfLoader(codec) or new ColladaLoader(codec) to have their textures decoded.

Use it when

You want textures to work in the model loaders without writing a codec. Skia brings native libraries with it; if that is unwelcome (a trimmed or AOT build, a platform Skia does not cover), implement ITextureCodec over the library you prefer instead. The interface is one method.

Depends on

LibreMetaverse.Imaging.Abstractions and SkiaSharp. It targets .NET Standard 2.1, .NET Framework 4.8.1, and .NET 8, 9 and 10.

Install

dotnet add package LibreMetaverse.Imaging.Skia

More

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net481 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.4.0 92 11/23/2026
3.3.1 375 11/18/2026
3.3.0 324 10/26/2026
3.2.1 206 10/23/2026
3.2.0 160 10/13/2026
3.1.8 179 10/6/2026
3.1.7 165 10/4/2026
3.1.6 189 9/14/2026
3.1.5 443 9/3/2026
3.1.4 141 8/26/2026
3.1.3 242 7/24/2026
3.1.2 135 7/21/2026
3.1.1 236 7/14/2026
3.1.0 263 7/11/2026