I am compiling a script to find deleted duplicates in a large image library. At the moment, I am doing a two-pass filter for the first search files of the same size, and then doing sha256 on a part of the file with a size of 10,240 bytes to get a fingerprint of files with the same size (code here ).
This works well, but I suppose the jpeg format probably uses checksums that I could use instead of doing sha256.
Does anyone know if there are checksums or other components that could act as checksums / fingerprints? If so, is there an effective way to access them?
I do not think that the JPEG specification includes any checksum in the way you describe.
However, a JPEG may contain a thumbnail as part of its EXIF โโmetadata. This is not an ideal indicator, since it is possible that two different images have the same thumbnail. There is at least one documented case where the thumbnail has not been replaced after the image has undergone significant changes, this sketch showed much more than the publisher expected.
, IJG, , , , - . EXIF, ...
script. . , , . , . jhead , ( , , , ). jhead () , . ImageDescription . , , . : exiv2 , exiftool .
JPEG (ITU-T.81) , field/syntax, , jpeg. โโ , . , , . , , utlitiy (, windows fc/b) u .
-AD
, , - . - , ( ) "".
XMP , .
( ) , , jpeg, .
Source: https://habr.com/ru/post/1698461/More articles:ASP.NET Key / Value List - asp.netlooking for text editor UTF-8 - unicodehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1698458/automatically-add-some-where-clauses-to-a-linq-expression-tree&usg=ALkJrhgYhVsOEMuISGIaiefk0XC8GH_XRAedit datagrid row - c #Programmer's notepad not writing output? - compiler-constructionHow to create a string representing Java as if it were an unsigned 64-bit value - javaHow fast is php_uname ()? - optimizationWhat is the best way to determine which server hosts the script and therefore in PHP? - phpHow to get the parameters in the order entered by the user using Perl Getopt :: Long? - perlGetting a language for non-Unicode programs - c #All Articles