Java ImageIO is insanely slow
问题 I'm making a program that sends the clients screen to the server and displays it but it's being extremely slow. It's taking 2-3 seconds for one frame and the upload/download speed is not a problem. Is there anything I'm doing wrong/anything I can change to speed this up? Server: import java.awt.BorderLayout; import java.awt.image.BufferedImage; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.zip.GZIPInputStream; import javax.imageio.ImageIO;