Added size check for bmp.
Added design of picture genesequence.