Home > Back-end >  How to use the Java compare two folder so pictures are the same?
How to use the Java compare two folder so pictures are the same?

Time:02-25

A and B have two folders, for example, two folders respectively 100 pieces of PNG images, the number of the picture is 0-100, could you tell me how to compare two folders corresponding to the number of images are the same, that is A folder 01. PNG and B folder 01. Compared the PNG, and so on 02. PNG and 02. PNG is... Excuse me, how to implement in Java code?

CodePudding user response:

This is a little bit,,,
For example, A folder of 01. PNG decreased 80%, and then save to B folder 01. PNG, they is not the same?
Using binary mode to file into byte array, compare the contents of the byte array are the same
  • Related