AntiDupl icon indicating copy to clipboard operation
AntiDupl copied to clipboard

Delete the smaller image automatically?

Open MatPoot opened this issue 4 years ago • 6 comments

Currently there is a process in the application where the application will automatically select recommended actions for certain duplicates and you can command it to carry out those recommendation actions.

I can't seem to find a way for the application to auto-mark image duplication in a group and delete all but the largest image file in terms of resolution or file size. Is there a way to do this?

MatPoot avatar Nov 06 '20 07:11 MatPoot

I have tried implement configirable actions in WPF version https://github.com/ermig1979/AntiDupl/issues/57#issuecomment-487377786: image Is this what you want? If so, I can improve that version.

heinrichI avatar Nov 06 '20 12:11 heinrichI

Yes, that would work. Automatically recommend the smaller image for deletion and keep the larger one.

If there was a way to do it with file-types as well that would be a nice extra, but not necessary ( if same resolution keep the PNG instead of the JPEG for example, or you could simply just flag the smaller ( in terms to file size ) for deletion.

MatPoot avatar Nov 07 '20 02:11 MatPoot

Specify more precisely what is missing or what is not working.

heinrichI avatar Nov 07 '20 11:11 heinrichI

image

To add : Delete smaller picture

MatPoot avatar Nov 09 '20 12:11 MatPoot

This picture is from the WinForm version. Nobody is going to develop it. I can work with WPF version. But in essence: adding another delete button with a smaller size will not solve the problem. This is one of many actions. What if I need to rename a small resolution picture to a name like a large one? Or move? But only if the picture with a small resolution is in this folder, and the resolution is more than 10% and the sharpness is not less. For such cases, too, a button? And so delete with less, as far as I remember, you can now configure it in the WPF version.

heinrichI avatar Nov 09 '20 17:11 heinrichI

actually not all the people need this function, but it relly sometimes we need
my job sometimes use this to find the problem who make fake pic,
and with python to output a info, that's a risk in some place

NOBB2333 avatar Apr 01 '23 16:04 NOBB2333