Open effndc opened 7 years ago
I have no idea, but the mac version of dupeguru use native libraries to read images, so it's possible that it would automagically work.
Hi, This issue is still not resolved on Windows 10. heic-format is installed and working. Can anyone verify that this works on MAC?
Tried to recompile, adding {..,'heic'} to the array in photo.py, but it didn't have any effect.
Does anyone know, what needs to be done to get heic working in dupeguru for Windows?
Still the only feature I'm missing.
Well, that's what I tried but failed on Windows
Result: the app works, all dlls are loaded, the app actually reads those HEIC files but VEEEEEERY SLOOOOWLY and what is worse it never finds any duplicates.
Also missing this feature.
@kleuter do you have a branch with the changes you tried? I might try to look at this issue as well, and if you have a branch with existing changes that would save some time.
It works automagically on macOS indeed. Just add 'heic'}
and do make && make run
Has anyone had success getting heic support on Linux?
I would also be interested in understanding how to get HEIC support into Docker image provided for dupeguru so that I can run in on a Synology NAS.
Instead of using the Qt image class, it would be easiest to use Pillow
and pillow-heif
.
Looking for this to be officially added.
Same here. It could be quite useful since Google Photos stores pictures in HEIC format, so when downloading them many duplicates are generated.
I found a workaround solution: It seems HEIC files are just "hidden" .jpg. So by just changing the extension to .jpg (or adding it after .heic), dupeguru is able to scan the image exif. Hope it helps some of you.
That doesn't sound right in general. According to https://doc.qt.io/qt-6/qimagereader.html#supportedImageFormats Qt doesn't support heif/heic files. And JPEG files are really different from real HEIC files both in file container and image encoding. Maybe your files are really just JPEG files which were for some reason renamed to HEIC?
Maybe, although my heic filles are from a Google Photo data extract, and they are duplicates of original .jpg photos I have on my computer, which are heavier (so not detected as duplicate in "content" scan).
So I'm happy it work, but still interested in an official support of all images files containing exif info for duplicate identification.
I took some .heic files from https://filesamples.com/formats/heic and changed the file extension from .heic to .jpg. Both Windows and iOS recognized/rendered the image properly.
Although changing the extension worked, dupeGuru was not able to recognize duplicated photos that had the file extension changed from .heic to .jpg.
HEIC is the new default used by all iOS devices, unfortunately dupeGuru doesn't attempt to search for duplicates for these files. Is there a timeline for adding HEIC support? Currently I am only able to match using
{'png', 'jpg', 'jpeg', 'gif', 'bmp', 'tiff', 'tif'}
. Is it possible that it would be as simple as addingheic
to the array?