Class AthenaImageEncoded
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
databyte[]
Properties
Format
Gets the format of the image.
public override ImageFormat Format { get; }
Property Value
Methods
GetBytes()
Gets the raw byte representation of the image.
public override Span<byte> GetBytes()