0

Looking for a way to automatically collect iOS screenshots and add them to the Screeenshots album, but with high accuracy (trying to avoid false positives).

It's fairly simple to track down the various device resolutions, and that the camera was iPhone/iPad/iPod, etc. However, that doesn't really narrow it down, as those also include photos taken from the device, as well as wallpapers. Maybe in a future Photos.app update, these will update automatically. Just wondering if anyone can guess at the metadata criteria Apple uses, or if they simply place that image in the Screenshots folder by default.

I highly doubt it, I wonder if you can pass in regex as a filename pattern. That would make it a lot easier.

  • It is my understanding that screenshots are saved as .png files, does that help? – bjbk Aug 3 '15 at 21:15
  • 1
    I was just checking that. It could easily match wallpapers as well saved as .png. It does whittle it down, though. – Kevin Suttle Aug 3 '15 at 21:19
  • Oh, you are referring to the Photos app only on iOS, not the Yosemite app, correct? – bjbk Aug 3 '15 at 21:31
  • No, just the Yosemite app. – Kevin Suttle Aug 3 '15 at 21:37
2

Screen captures do not have a camera on the metadata. You can use that to weed out most of the pictures as all pics taken with the integrated camera will state the iPhone model (and even if taken with the front or rear camera).

Second, as @bjbk said, all screen captures are .pngs.

I tried a text filter for each resolution, including one for landscape and another for portrait orientation. I couldn't reproduce the behavior described here, which states that it does not matter the order of the dimensions. You will have to track down each dimension pair relevant for your case.
Moreover, I couldn't catch all screen captures when adding this filter; in a seemingly random fashion, some pictures were correctly selected for each resolution pair and others with the same resolution didn't.
I checked the metadata on Adobe Bridge to find out what was the difference between images but could not find any. Also important, the dimensions of the screen capture differ from the dimensions of photos taken with the device:

iPhone 6:

  • Screen captures: 1334 × 750
  • Pictures with rear camera: 3264 × 2448
  • Pictures with front camera: 1280 × 960

So that won't be a problem for filtering; anyway, the Text filter did not work as expected.

All in all, a filter made by selecting Filename - ends with - .png AND Filename - starts with - IMG_ AND Camera Model - is empty gave me the best results.

I didn't try regex because I can't get my head around it; I've had some success following guides when I find which version / syntax is appropriate for the case at hand and a good guide, but I don't really understand it.

  • This was helpful. Thank you. Do you know if it's possible to specify an OR operator? For example: (320 × 480 || 480 × 320). Wonder if Hazel would be a better alternative. – Kevin Suttle Aug 4 '15 at 3:39
  • You can use an OR operator, but you can't combine it with an AND. – Jaime Santa Cruz Aug 4 '15 at 10:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .