I am a developer from China. I try to use NSBitmap ImageRep to convert GIF images into NSData, but the converted GIF images have no animation, it seems only the first frame. This is my code. I don't know what the problem is. I hope to get your help. Thank you.
NSData *gifData = [gifiImage TIFFRepresentation];
NSBitmapImageRep *bitMapRep = [NSBitmapImageRep imageRepWithData:gifData];
NSData *data = [bitMapRep representationUsingType:bitmapType properties:nil];