graphic: refactor code, add more interface, BlurImage(), ResizeImage(), RotateImage(), FlipImage()