Hi,
What i m doing is encoding the image with to Base64ForData and then uploading to server, the time of downloading decoding back.
I m getting "libpng error: No IDATs written into file " this error when trying to get NSData from UIImage.
NSData *d = UIImagePNGRepresentation(Record.photoimage);
Record.photoimage is UIImage.
But the same code working for some images and for some images i m getting this error.
Please help anyone....