Wondering if anyone knows a fast way to compress buffered JPEG images with Java. In my program I’m taking in a ton of images using the robot class and I need compress them so i can save them a lot faster using file IO or put them into an array list. (I don’t really mind going from really high quality images to average quality)
Share
javax.imageio.ImageIO.write(image, "jpg", new File("someFile.jpg"))isn’t fast enough?