Re:Show HN: Declutta – Free, on-device iOS photo cleaner and...
by easyThrowaway on Friday November 20, 2026 @09:26AM
(#50575088)
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
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