LibreMetaverse.Imaging.Abstractions 3.2.0

Prefix Reserved
dotnet add package LibreMetaverse.Imaging.Abstractions --version 3.2.0
                    
NuGet\Install-Package LibreMetaverse.Imaging.Abstractions -Version 3.2.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.Abstractions" Version="3.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LibreMetaverse.Imaging.Abstractions" Version="3.2.0" />
                    
Directory.Packages.props
<PackageReference Include="LibreMetaverse.Imaging.Abstractions" />
                    
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.Abstractions --version 3.2.0
                    
#r "nuget: LibreMetaverse.Imaging.Abstractions, 3.2.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.Abstractions@3.2.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.Abstractions&version=3.2.0
                    
Install as a Cake Addin
#tool nuget:?package=LibreMetaverse.Imaging.Abstractions&version=3.2.0
                    
Install as a Cake Tool
▗▖   ▄ ▗▖    ▄▄▄ ▗▞▀▚▖▗▖  ▗▖▗▞▀▚▖   ■  ▗▞▀▜▌▄   ▄ ▗▞▀▚▖ ▄▄▄ ▄▄▄ ▗▞▀▚▖
▐▌   ▄ ▐▌   █    ▐▛▀▀▘▐▛▚▞▜▌▐▛▀▀▘▗▄▟▙▄▖▝▚▄▟▌█   █ ▐▛▀▀▘█   ▀▄▄  ▐▛▀▀▘
▐▌   █ ▐▛▀▚▖█    ▝▚▄▄▖▐▌  ▐▌▝▚▄▄▖  ▐▌        ▀▄▀  ▝▚▄▄▖█   ▄▄▄▀ ▝▚▄▄▖
▐▙▄▄▖█ ▐▙▄▞▘          ▐▌  ▐▌       ▐▌                                
                                   ▐▌                                

LibreMetaverse.Imaging.Abstractions

The image type and the one-method codec interface that let LibreMetaverse work with pictures without choosing an imaging library for you. Texture code decodes through ITextureCodec; you decide what sits behind it.

  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

A name in brackets is this package. Packages use the ones beneath them; the Depends on section below is exact.

What is in it

  • ManagedImage: a picture held as separate red, green, blue, alpha and bump channels, the shape Second Life's textures and bakes have. It can convert between channel layouts, resize (nearest neighbor or bilinear), clone and export raw bytes.
  • ITextureCodec: ManagedImage Decode(Stream stream), which turns the bytes of a PNG, JPEG, BMP or whatever your codec reads into a ManagedImage.

Second Life's own JPEG 2000 textures are decoded by LibreMetaverse.Assets; the codec is for the other formats that arrive with a model or an upload.

Plugging one in

LibreMetaverse.Imaging.Skia is a ready-made codec built on SkiaSharp. To use something else, implement the interface:

using LibreMetaverse.Imaging;

public sealed class FlatGreyCodec : ITextureCodec
{
    public ManagedImage Decode(Stream stream)
    {
        // A real codec reads the stream with the imaging library of your choice.
        // This one ignores it and returns a 2 x 2 grey picture.
        var image = new ManagedImage(2, 2, ManagedImage.ImageChannels.Color);
        Array.Fill(image.Red, (byte)128);
        Array.Fill(image.Green, (byte)128);
        Array.Fill(image.Blue, (byte)128);
        return image;
    }
}

Use it when

You are writing code that needs to accept an image decoder (a loader, a renderer, an exporter) and do not want to pin your callers to one. If you only need to decode, reference LibreMetaverse.Imaging.Skia instead.

Depends on

.NET Standard 2.1, .NET Framework 4.8.1, and .NET 8, 9 and 10, with no dependencies.

Install

dotnet add package LibreMetaverse.Imaging.Abstractions

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.
  • .NETFramework 4.8.1

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on LibreMetaverse.Imaging.Abstractions:

Package Downloads
LibreMetaverse

LibreMetaverse is a .NET client library for connecting to and interacting with Second Life, OpenSimulator, and compatible virtual world servers. Provides networking, inventory, avatar, asset, and world management APIs.

LibreMetaverse.PrimMesher

Prim meshing library for LibreMetaverse that generates 3D geometry from Second Life primitive object parameters, supporting box, cylinder, torus, sphere, ring, tube, and sculpt prim types.

LibreMetaverse.Rendering.MeshFoundry

Modern mesh rendering library for LibreMetaverse. Generates renderable geometry from Second Life prims, sculpts, and mesh assets with correct normal decoding, skin weight support, and TexCoord1/NormalizedScale for PBR.

LibreMetaverse.Imaging.Skia

SkiaSharp-backed ITextureCodec implementation for LibreMetaverse — decodes arbitrary image formats (PNG, JPEG, BMP, etc.) into ManagedImage. Reference this package to give ColladaLoader, PrimMesher's file-decode helpers, or your own code a working ITextureCodec.

LibreMetaverse.Assets

The data model of LibreMetaverse that needs no connection to a grid: asset types, glTF documents, primitives and their textures, inventory items, the avatar skeleton and appearance definitions, model import data and its upload checks, and logging. Pulled in by the LibreMetaverse package; reference it alone to work with assets and models offline.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.2.0 297 10/13/2026
3.1.8 541 10/6/2026
3.1.7 359 10/4/2026
3.1.6 3,365 9/14/2026
3.1.5 1,065 9/3/2026
3.1.4 387 8/26/2026
3.1.3 2,124 7/24/2026
3.1.2 449 7/21/2026
3.1.1 603 7/14/2026
3.1.0 633 7/11/2026