title: Convert BLOB image from NSData to NSString so it can be displayed in HTML UIWebView
body: <p>So I successfully retrieved my BLOB image from the database and set it to NSData *content..</p>
  
  <pre><code>content = [[NSData alloc]
         initWithBytes:sqlite3_column_blob(query, 16)
         length:sqlite3_column_bytes(query, 16)];
  </code></pre>
  
  <p>What I am trying to do is to get this content into a NSString, because I would like to then pass this string to javascript and display the image. I am not exactly sure if this is even possible, but i have read on the link below that you can display images in css/html in base64.
  <a href="http://mark.koli.ch/2009/07/howto-include-binary-image-data-in-cascading-style-sheets-css.html" rel="nofollow">http://mark.koli.ch/2009/07/howto-include-binary-image-data-in-cascading-style-sheets-css.html</a></p>
  
  <p>The issue I am having is converting my NSData to an NSString so I can then put it into my
  UIWebView's loadHTMLString....I cannot use a UIImage, must be a UIWebView.</p>
  
  <p>Thanks!
  Greg</p>