Core Animation Snippets

by Matt Long

Here are some snippets to help with performing different tasks using Core Animation.

Images

  • Convert NSImage to CGImageRef

Scaling

  • Scale Up Five Times
  • Scale Down to Half Size