Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using geequie to find 99% similar (internet) images (well, duplicates).
Is there some free software that could try and guess which image is 'original' and which is recoded ?
not in a 'photoshopped' sense, but with images that are almost identical.
resolution is the same, size slightly different.
smaller image should be 'fake' but its not always the case.
but there are tools that detect fake .flac files (ones converted from mp3).
I know it requires some AI, but could it simply select sharper image?
( if no filtering was done, it should mostly work? )
edit:
I don't need anything fancy, just some better way than comparing size.
persumably, such tool would take into account filename, timestamp, exif.
I have some images downloaded from net, like ,um, landscapes... and there are a lot of duplicates. I'd like to keep only only the one that is of 'best quality'. Because internet has a lot of re-coded images. Like if you convert jpg->png->jpg or something.
thanks, but I need it to tell me which image is objectively better.
I just remembered there are some tests that compares video codecs like HEVC vs AV1.
I need something like that for images.
thanks, but I need it to tell me which image is objectively better.
To be objective you need to define "better".
If I take a 6016x4016 image, resize to 1024x684 and apply 10% JPEG compression, it might come out at 400KB.
Or I can send the original through an optimizer and come out with a 1024x684 file which is 200KB and is equal or better image quality to the previous file.
Or I can save the original full size but with 99% JPEG compression and get an 800KB file which is inferior to both of them.
So you can't trust number of pixels, nor can you trust number of bytes.
Maybe there a way to compare JPEG compression level (I think some software adds it to metadata), but this is limited use without knowing if the image has been resized/sharpened before or after, and whether a sharpened image adds or detracts to the image quality depends on the subject.
In summary, I don't know of any objective measurements that will give you a valid judgement without a human's visual input.
I suspect you're stuck with identifying similar images then using your own eyes to pick the best one - but if you do find an automated method I'm interested in knowing about it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.