protected override void ReadChunkData(DjvuReader reader) { Width = reader.ReadInt16MSB(); Height = reader.ReadInt16MSB(); MinorVersion = reader.ReadSByte(); MajorVersion = reader.ReadSByte(); DPI = reader.ReadInt16(); // LSB Gamma = (float)reader.ReadByte() / 10; sbyte flag = reader.ReadSByte(); // B[3..0] PageRotation = (PageRotations)(flag & 0x07); }
protected override void ReadChunkData(DjvuReader reader) { Width = reader.ReadInt16MSB(); Height = reader.ReadInt16MSB(); MinorVersion = reader.ReadSByte(); MajorVersion = reader.ReadSByte(); DPI = reader.ReadInt16(); // LSB Gamma = (float)reader.ReadByte() / 10; sbyte flag = reader.ReadSByte(); // B[3..0] PageRotation = (PageRotations)(flag & 0x07); }