Try this:
self.spriteImage = [[CCSprite alloc] initWithCGImage:tempImage.CGImage
key:@"unique image name"];
Alternatively there's also a initWithCGImage
method in CCTexture2D if you prefer to use that.