Class ImageSubFile
Namespace: ValveResourceFormat.IO
Assembly: ValveResourceFormat.dll
Represents an image sub-file with a bitmap and extraction function.
csharp
public sealed class ImageSubFile : SubFileInheritance
object ← SubFile ← ImageSubFile
Inherited Members
SubFile.FileName, SubFile.Extract
Properties
Bitmap
Gets or initializes the bitmap data.
csharp
public required SKBitmap Bitmap { get; init; }Property Value
Extract
Gets or sets the extraction function that returns the file data.
csharp
public override Func<byte[]> Extract { get; }Property Value
ImageExtract
Gets or initializes the image extraction function.
csharp
public required Func<SKBitmap, byte[]> ImageExtract { get; init; }
