title: setting Address Book image with MacRuby
body: <p>I am trying to set my user's Address Book Image with MacRuby. Here is what I have so far:</p>
  
  <pre><code>framework 'ScriptingBridge'
  framework 'AppKit'
  
  download = "/path.png"
  data   = NSData.dataWithContentsOfFile(download)
  bitmap = NSBitmapImageRep.imageRepWithData(data)
  final  = bitmap.representationUsingType(NSTIFFFileType, properties: nil)
  
  book = SBApplication.applicationWithBundleIdentifier("com.apple.addressbook")
  book.myCard.setImage(final)
  </code></pre>
  
  <p>I have also tried <code>book.myCard.setImage(final.base64Encoding)</code>, by the way. </p>
  
  <p>What do I need to do to make this work?</p>
  
  <p>Thanks!</p>