二、圖像旋轉(zhuǎn) Android中提供了對(duì)Bitmap進(jìn)行矩陣旋轉(zhuǎn)的操作,參見(jiàn)Bitmap提供的靜態(tài)createBitmap方法. public static Bitmap createBitmap (Bitmap source, int x, int y, int width, int height, Matrix m, boolean filter) IllegalArgumentException if the x, y, width, height values are outside of the dimensions of the source bitmap. 到此這兩個(gè)問(wèn)題理論上都解決了,開(kāi)始實(shí)際操作一下吧,參照以下代碼。