Extract frames of animation from a layered PSD