v002/v002-Media-Tools — pull request #3 by DouglasHeriot (2012-08-08 01:23:46+00:00)
Title: Capture at full resolution of retina displays

`CGDisplayBounds(display)` doesn’t seem to take into account retina displays (eg. returns 1440x900 rather than 2880x1800 for retina MBP). `CGDisplayPixelsWide(display)` and `CGDisplayPixelsHigh(display)` also only return this lower resolution (not the accurate number of pixels at all!)

Solved by finding the corresponding `NSScreen` object, and taking its `backingScaleFactor`.