API Reference > 0.19.1 > ImageItem1774
ImageItem1774 Class
Image item of type 1774, e.g. an image inside HELMETS.DAT or FLAGS.DAT.
Namespace: ArgData.Entities
Constructors
Name | Description |
---|---|
ImageItem1774() | Initializes a new instance of ImageItem1774. |
Properties
Name | Description |
---|---|
Data | |
Height | |
Length | |
Offset | |
Type | |
Width |
Methods
Name | Description |
---|---|
GetPixelData() | Gets the pixel data from the image item as a byte array. The size of the array will be the Width multiplied by the Height of the image. |
SetPixelData(Byte[] pixelData) | Sets the pixel data for the image. pixelData: Pixel data as a byte array, where each byte represents a menu palette index. Must be the same length as the Width multiplied by the Height of the image. |