The Address Book can feed us giant images; after syncing my iPhone and getting a...
commit332ae2a5b2a2c610f5e9e7671b45118b0e0023a0
authorEvan Schoenberg <evan@adiumx.com>
Fri, 4 Jan 2008 17:48:18 +0000 (4 17:48 +0000)
committerEvan Schoenberg <evan@adiumx.com>
Fri, 4 Jan 2008 17:48:18 +0000 (4 17:48 +0000)
tree98470c7aac2434836f53592b96a77adef758c293
parent01352852ba33b4e17353e6a8867983260cbb7632
The Address Book can feed us giant images; after syncing my iPhone and getting a bunch of full-quality contact pictures, I had about 8 contacts each with a 300 kilobyte NSImage in memory permanently thanks to address book.  We never want more than a 96x96 image, so perform this scaling before keeping the image around.

git-svn-id: svn://svn.adiumx.com/adium/trunk@22119 1c916fce-81e2-0310-a464-8ca513f45935
Source/ESAddressBookIntegrationPlugin.m