使用BufferedImage的 getRGB() @tskuzzy的答案中所述的方法。 通過直接使用以下方式訪問像素數組: byte[] pixels = ((DataBufferByte) bufferedImage.getRaster().
確定! 回上一頁