Open scintill opened 2 years ago
Hi @scintill, I never saw such an issue, but you might be on the right track. Initially I would have expected that the iPhone shares the files as JPGs. I know that in the /Discover or /Ask the receiving device is able to state if it supports HEIC and if not I'd guess it should receive JPG files.
I actually want the original HEIC files. I don’t know if the metadata file issue is related to HEIC. Maybe so, if others haven’t seen it yet.
I haven't narrowed down exactly what's going on. I tried to AirDrop two photos from iOS to Linux, with "All Photo data" (or something like that) enabled in iOS. I got two subdirectories, like:
Both the dot-prefixed and regular .HEIC file in each are actually
AppleDouble encoded Macintosh file
as reported byfile
. The contents are identical. I guess it's an issue with libarchive wrongly selecting the metadata and saving two copies.I was able to get the real file by hacking opendrop's code to save the cpio archive itself and extracting with the
cpio
command, but maybe that's a fluke.I will probably look into this more, but if anyone else knows something, please let us know.