I know we are not supposed to ask for code, but could someone please tell me how I would do this. Not write code, just give me guidelines.

thanks

Ok thanks, but I dont get the dim variable, were is it declared?

I believe its a Dimension variable, so :

Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();

I hope that helps.

Thanks, but you know the image_width and image_height, is that the screen size? or would there be some cropping after the screen capture has been taken? Also do you think this method would work with normal pictures rather then a screen capture, sorry to keep asking, but im relatively new to image processing.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.