I am uploading images from an iPhone to my server. The code that I’m using converts the image to binaries (with a .bin extension). I would like to transform these into .png or .jpg so I can then reference them back on my app when making a UIImage.
If this can be done in php, great. Otherwise I’m open to all solutions.
Any ideas?
EDIT 1
EDIT 2
Fixed link 🙂
I think that you are using PHP right? If so I think that you can use this function:
string base64_decode ( string $data [, bool $strict = false ] )to decode a base 64 string.