| T O P I C R E V I E W |
| bmesser |
Posted - Jun 12 2026 : 03:37:35 Hi
I have a folder with hundreds of 1024x1024 PNG images in it.
I want to remove any identical images in it.
I wonder if there's an easy way to compare images in imageen?
AI provides me with a method, but I would rather go the easier and quicker route if possible.
Bruce |
| 1 L A T E S T R E P L I E S (Newest First) |
| xequte |
Posted - Jun 12 2026 : 16:31:45 Hi Bruce
So the quickest method is to get a hash of all the images and then find the ones with the same hash:
http://www.imageen.com/help/TIEBitmap.GetHash.html
Of course, that only gets you 1:1 matches. You might consider ones that are the same but different sizes, or colors. So you might want to scale the images to a standard size (not relevant for the case you mention that are already the same size) or convert to gray scale. Generate the hash for the sub-subsampled images.
The other potential issue (again, not in the case you mention below) is JPEG compression differences, so in that case you are better to reduce to a much smaller size and compare that.
See also:
http://www.imageen.com/help/TImageEnProc.CompareWith.html http://www.imageen.com/help/TImageEnProc.ComputeImageEquality.html
Nigel Xequte Software www.imageen.com
|
|
|