-
Notifications
You must be signed in to change notification settings - Fork 808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion to make the result of image comparison more reliable #1391
Comments
It may be similar to the problem of #1176. Could you tell me if you can get a stable result when the number of comparison threads is 1 as follows? |
Ok, I managed to reproduce it again and seems it works with thread = 1 (of course lot slower) Maybe is because there is some problem with thread that cant compare the files corrupted (see impossible result in the images) |
Thank you for trying that. I am unable to reproduce this issue at the moment, so if you could tell me how to easily reproduce it, that would be great! |
Happened often with folders having 20000+ files, image comparison enabled and also added pdf extension. (attached the settings file) Sorry, if I currently had more time I would prepare a sample folder I had the problem with. |
Just a quick update: not always thread =1 fix the problem so now I'm thinking that maybe is related to some antivirus protections. |
I tried on a different PC installing winmerge and with the default settings. |
Thank you for the info. |
I was not able to reproduce the problem of that comparison being blocked, but I was able to reproduce the problem of the same content being determined to be different, even though they are identical. WinMerge uses a Windows feature (Windows.Data.Pdf) to image PDF files. When PDF files are converted to images using this function, a slight color difference sometimes appears as shown in the attached image. I do not know why this happens. |
Thanks for the suggestion, I will use that option from now on. I was able to replicate the block with a random set of created files. |
Thank you for uploading the file. |
There was a memory leak when comparing PDFs, so version 2.16.24 fixes this problem. |
I am doing a folder comparison with the option for image comparison enabled. (Latest Winmerge stable version)
I noticed that sometimes the reported result of comparing some images indicates different images but if I compare the same files as binary instead they are the same. So I suggest doing a binary comparison first and in case it is really different do a pseudo-visual comparison with the images option.
Also I noticed that sometimes comparing folders with many files and image comparison option enabled, the program crashes (it is not slow, even leaving it open 10+ hours does not increase progress) and having to close it by killing the process.
On the other hand, if you do the partial comparison of each sub-folder (present of the previous folder, the comparison of which crashes) you are able to terminate it correctly.
Is this a RAM memory management problem?
The text was updated successfully, but these errors were encountered: