Convert GIF to list of NSImages. I used the following contribution https://github.com/Inferis/nsimage-from-animated-gif  But modified it to work on NSImage also instead of UIImage