File file = new File(folderPath + "\\" + fileName);
ImageIO.write(ImageIO.read(new URL(attr)), fileType, file);
I used 20 threads to call this code, which occupied the full downstream bandwidth. There was a picture tearing problem when downloading pictures in batches
but there was nothing wrong with the program when writing this abnormal picture
the probability of having a problem is small, and it feels like it has not been downloaded completely. What is the cause of this and how to solve it