Java中藉助BufferedImage進行轉化,詳見代碼。 ... getRGB(0, 0, width, height, null, 0, width); int[] bgrPixels = new int[rgbPixels.length]; ...
確定! 回上一頁