buaazp: 1. new feature: save image format control. 2. fixed p2 error when s_cols<cols<im->cols. 3. new namestyle includes x_y