Live data from Hacker News

Apple Photos app corrupts images

tenderlovemaking.com

141–150 of 471 posts

Re: Apple Photos app corrupts images

#141
This is really good to know. I’ve never personally run into this problem despite having the same hardware because I only ever put the final jpeg into apple photos and keep the camera output completely outside of the Apple ecosystem on a hard drive.

Re: Apple Photos app corrupts images

#142

I’m a fan of the whole Apple ecosystem but I have to say that there’s a pattern here. Apple does a decent job of keeping my data safe from others but a terrible job of keeping it intact. From music libraries with song titles that got switched to long integers to this (and I’m sure more that I’m not remembering atm) they need to do a better job here. Sure security is important but integrity is too.

I stopped using apple's notes app with an ipad pen after it lost 20 minutes of my handwritten notes when trying to sync them. (Which fits the theme of apple losing people's stuff.)

You should’ve put an airtag on them first.

Re: Apple Photos app corrupts images

#143
post #57

Not sure if related but importing images via image capture on mac to the disk of the mac gives you correct time when the photo was taken in the file (kind of important if it’s family photos). But if you import it to a usb drive you get current time as creation time for each file so you’ve lost any timestamp you had on the photos.

> kind of important if it’s family photos Anything important should be kept inside the file. Filesystem metadata gets lost all the time, isn't consistent between operating systems, zipping up a folder and extracting it will probably mess up timestampts too.

Apple's Migration Assistant messed up timestamps when I did a M2 > M4 copy recently.

Dropbox doesn't seem to keep timestamps properly either.

I like using filesystem timestamps to sort through things in Finder, and thankfully I like A Better Finder Attributes for being able to batch copy EXIF data into timestamps.

[1] https://www.publicspace.net/ABetterFinderAttributes/index.ht...

Re: Apple Photos app corrupts images

#144
Back in 2011 I did the grave mistake of updating my iPad to the beta version of iOS. It was iOS 4 I believe. I took it with me on my honeymoon travel in US. My use case was to offload images onto the iPhotos app with an SD adapter. I bought the Apple Dock one.

On day 7 or so the import failed and all files on the pad got corrupted. But also the SD card got corrupted.

I stopped using the device and the card because I knew not all is lost. I had to buy a new card in SF as replacement. Back home I used a recovery software to check if data is still on the card (I used the same software before on a card that got deleted by another person and I was able to get all images back). I was able to get most of the images recovered and also recovered a few from the iPad. All in all I lost maybe 10 out of a few 100. Now I travel with multiple cards and backup already each night while in the hotel. And I don’t delete the images on the SD Card. I format only when I’m sure I have everything copied and secured.

Re: Apple Photos app corrupts images

#145
post #54

Earlier quoted context omitted.

This is also my guess. It's really a bummer, and I'd report it to Apple but since it's nondeterministic I have no idea how to provide repro steps.

Have you tried copying the files to the local disk before importing?

I use Lightroom, but always with this workflow (copy files from memory card to disk, then use LR to do the import / move / build previews).

If nothing else, it lets you get your card back much more quickly, as a file-system copy runs at ~1500MBps, which makes a difference when importing 50-100GB of photos.

I also don't delete the images off the memory card until they've been backed up from the disk to some additional medium.

Re: Apple Photos app corrupts images

#146
Have you tried importing them using the Image Capture app on iOS, instead of the Photos app? It just gets them off the camera/SDCard and onto your Mac in a folder, which you can then drag onto Photos.app -- worth a shot.

Re: Apple Photos app corrupts images

#147

It seems to be an import pipeline bug. Photos does a lot of extra work on import (merging RAW+JPEG pairs, generating previews, database indexing, optional deletion), so my guess is a concurrency bug where a buffer gets reused or a file handle is closed before the copy finishes. Rare, nondeterministic corruption fits the profile.

This is also my guess. It's really a bummer, and I'd report it to Apple but since it's nondeterministic I have no idea how to provide repro steps.

I think your best bet is to do what you did: write an extensive blog post about it and hope it goes "viral" and grabs the right people at Apple's attention.

I would think the diffs would be telling to the right people.

It's on the front page of HN, so that's a good start!

Re: Apple Photos app corrupts images

#148
post #3

For transferring files (photos or others) from iOS, I have been using Landrop for a while and never had any issues so far, it’s also way faster than using a cable.

I use PhotoSync for images which works (most of the time ;) ) automatically in the background. Once or twice a month I give it a kick to make sure...

Re: Apple Photos app corrupts images

#149

Back in 2011 I did the grave mistake of updating my iPad to the beta version of iOS. It was iOS 4 I believe. I took it with me on my honeymoon travel in US. My use case was to offload images onto the iPhotos app with an SD adapter. I bought the Apple Dock one. On day 7 or so the import failed and all files on the pad got corrupted. But also the SD card got corrupted. I stopped using the device and the card because I…

[deleted]

Re: Apple Photos app corrupts images

#150

Earlier quoted context omitted.

Interesting that he went from 30% failure to it taking a while to find a single failure after replacing everything. Random is random, and random is clumpy, so maybe swapping parts is irrelevant, but... I wanted more detail how often the corruption happened throughout his replacement journey. edit: also wth i just realized I went to "tenderlovemaking.com" at work. gross. lol.

I'd be interested in knowing if he was multitasking and using a lot of memory. I know wedding photos are usually something you feel rushed to upload so maybe this issue can be made worse depending on system resource availability.

yeah copying can take a loooooooong time and so you multitask.

maybe the randomness is based on the other apps he's using at the same time.

Post reply on HN