UIImage *imagedata = [UIImage imageWithData:UIImagePNGRepresentation(self.imageOne.image)];
NSData *compressedImage = UIImageJPEGRepresentation(imagedata,1.0); //Compression
[Base64 initialize];
strEncoded = [Base64 encode:compressedImage]; //Base64 Encoding
// NSLog(@"%@ encoded String is",strEncoded);
NSLog(@"length of encoded String is %i",[compressedImage length]);