public void Load(BinaryReader aReader) { aReader.Read(this.FPalette, 0, this.FPalette.Length); Deserializer _deserializer = new Deserializer(aReader.BaseStream); this.FImages = new StciSubImage[this.SubHeader.NumberOfSubImages]; for (int i = 0; i < this.SubHeader.NumberOfSubImages; i++) { StciSubImageHeader _imageHeader = new StciSubImageHeader(); _imageHeader.Read(_deserializer); this.FImages[i] = new StciSubImage(_imageHeader);; } for (int i = 0; i < this.SubHeader.NumberOfSubImages; i++) { this.FImages[i].ReadData(aReader); } for (int i = 0; i < this.SubHeader.NumberOfSubImages; i++) { if (this.FHeader.AppDataSize != 0) { this.FImages[i].ReadAuxData(_deserializer); } } }
public StciSubImage(StciSubImageHeader aHeader) { this.FHeader = aHeader; }