Table 2 Data set storage format.

From: Ancient Yi Script Handwriting Sample Repository

Data item

Type

Size(bytes)

Description

Magic Number

Uint32

4B

Unique identification of the data set. The default is 0xAC

Sample count

Uint32

4B

 

Check code

Uint256

32B

SHA-256 check code

Tag

Uint16

2B

Unicode Numerical form

Image width

Uint16

2B

 

Image height

Uint16

2B

 

Bitmap

Uint8 array

width*height

A sequence of pixels arranged in rows