title: How to convert NSString to UIImage for appengine blobstore
body: <p>when I do the following the resulting image is null</p>
  
  <pre><code>NSLog(@"string (%@) to base64NSData",object);
  NSData *base64Data = [[object dataUsingEncoding:NSUTF8StringEncoding] base64EncodedDataWithOptions:0];
  NSLog(@"NSData (%@) to UIImage",base64Data);
  UIImage *image = [UIImage imageWithData:base64Data];
  NSLog(@"my image is: %@",image);
  </code></pre>
  
  <p>How might I do this well?</p>
  
  <p><strong>Reason</strong></p>
  
  <p>I need to save an image from iOS to the Google blobstore. I need to include some metadata with the image. When I encode the string as base64 it does not work. </p>
  
  <p>This is loosely a follow up to <a href="https://stackoverflow.com/questions/25102155/afhttprequestoperationmanager-post-multi-part-request-not-working">AFHTTPRequestOperationManager post multi-part request not working</a></p>