Nice! I tried writing something similar in the past, but I had no luck getting the "compression in place" working for the Photos Library assets: trying to recreate the original asset using `PHImageManager` while keeping the original metadata would randomly corrupt my pictures. Also trying to access any non-local content from Apple Photos was a shoot in the dark, `PHImageRequestOptions` would simply lockup or randomly return a thumbnail rather than downloading the full image from apple servers. The entire Apple Photos Api stack feels quite half-assed, to be frank. I'm glad someone else than me had the patience to overcome those issues! :D
Open apps.apple.comapps.apple.com/us/app/free-up-space-declutta/id6799243408
Declutta
Free, on-device iOS app for cleaning duplicate/similar photos, compressing videos, and merging contacts. 100% offline, no ads or paywall.
Visit project- First shared
- Nov 20, 2026
- HN activity
- 21
Show HN@codivolabsNov 20, 2026
Show HN: Declutta – Free, on-device iOS photo cleaner and video compressor
Community