Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 영어
- 엑티비티
- 바닐라루시
- opengl
- error
- Android
- Looper
- 걸스데이
- 서비스
- 안드로이드
- 쓰레드
- 이클립스
- Intent
- Java
- rainbow
- Eclipse
- opencv
- 브로드케스트 리시버
- Linux
- 뮤직비디오
- 자바
- HTML
- 네트워크보안
- 배다해
- 네트워크
- 토익
- xml
- TOEIC
- 인텐트
- 레인보우
Archives
- Today
- Total
목록robot (1)
W.A 저장소
Screen Capture Class(화면 캡쳐 클래스) Robot
public class Main { public static void main(String[] args) throws AWTException, IOException { Robot robot = new Robot(); // Rectangle 를 설정한 부분의 Capture Rectangle selectRect = new Rectangle(500, 1000); BufferedImage buffImg = robot.createScreenCapture(selectRect); File imgFile = new File("image.jpg"); ImageIO.write(buffImg, "jpg", imgFile); } }
Programing
2010. 7. 16. 10:17