-1

如何抓取矩形的像素以及如何在 Java 中获取抓取像素的颜色...

4

1 回答 1

0

(Assuming you want to grab pixels of a rectangle in an existing Image), have a look at the PixelGrabber class. The example in the Javadocs shows how to get the color of each grabbed pixel.

于 2010-11-10T06:52:45.227 回答