objective-c : Image to NSData and Reverse Transform for saving Core Data