title: Decode a base64 encoded tiff image to display on html page
body: <p>I am receiving a base64 encoded string of a tiff image from the Java server side.
  Through ajax we are able to retrieve the string. 
  But now we need to be able to display this encoded string of a tiff image on the browser as an image. 
  How can this be done. I am not able to find any help to be able to decode the string on the client side using javascript. 
  Any help would be appreciated as i have been working on this for a long time without being able to come a solution.</p>
  
  <p>directly appending the encoded string to the  src attribute does not work </p>
  
  <pre><code>&lt;img src="data:image/tiff;base64,+string+"&gt;
  </code></pre>
  
  <p>Thanks,
  Marc</p>