is there a way to resize a NSImage (animated gif) and preserve the animation?
I want to make the animated gif with 512x256px size, fit a rect of 256x256px.
[newImage lockFocus];
[animatedGif drawInRect:newRect
fromRect:NSMakeRect(0.0f, 0.0f, self.size.width, self.size.height)
operation:NSCompositeCopy
fraction:1.0f];
[newImage unlockFocus];