Your Computer Science Resource

Posts Tagged ‘image’

Jan
9th

HOW-TO: Save a BufferedImage to Disk

Recently, I showed you how to take a screenshot and display it in a JFrame using Java’s Robot class. What if you wanted to save the image to the disk as a GIF, JPG, or PNG? It’s actually really easy. Let’s find out how!

(more…)