iOS process image with Quzrtz2D，including rotate，resize，crop and convert from UIImage to bmp data, vice versa