Table of Contents

Class AthenaImageEncoded

Namespace
Resolver.Athena.Images
Assembly
Resolver.Athena.dll

Represents an image that is encoded in a specific format (e.g., JPEG, PNG).

This class handles image loading, resizing, and format conversion using the ImageSharp library.

public class AthenaImageEncoded : AthenaImageBase
Inheritance
AthenaImageEncoded
Inherited Members

Constructors

AthenaImageEncoded(byte[])

public AthenaImageEncoded(byte[] data)

Parameters

data byte[]

Properties

Format

Gets the format of the image.

public override ImageFormat Format { get; }

Property Value

ImageFormat

Methods

GetBytes()

Gets the raw byte representation of the image.

public override Span<byte> GetBytes()

Returns

Span<byte>

A span of bytes representing the image data.