This program can translate a imge from RGB24 to Gray8 and crop it.