Comment

Comment by asdaq1312512

Photos.app doesn't show file size… so I thought, why not build a little Photos.app extension or a separate app that queries for large files?

Turns out that the API doesn't expose "file size", at least I didn't find a straight-forward way.

I think that all "photos" or "videos" are just a view of the underlying "photo or video object". If you crop a video, the full-size video will remain. Only if you export the video, it will be cropped and the smaller file size will manifest.

I guess that's why the file sizes differ.

[Edit: someone created an AppleScript to query file sizes - I didn't test it, yet: https://discussions.apple.com/docs/DOC-250000422 ]

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton