title: How to write string data to tiff file in vb.net
body: <p>I need to write some data which is string to tiff file. I am doing in the following way</p>
  
  <pre><code>Dim OFile As System.IO.File
  Dim OWrite As system.IO.TextWriter
  OWrite = OFile.CreateText("Signature.tiff")
  OWrite.Write(ControlData)
  MessageBox.Show("Signature is recieved and it is saved in Signature.tiff")
  </code></pre>
  
  <p>ControlData is the string which is to be written to the file.
  I am capturing the signature from the user. This function gets the data in string format and i need to create a tiff file using the string data.</p>
  
  <p>When i did in this way, signature.tiff is created but when i opened the image it is giving no preview available.</p>
  
  <p>Can you tell me what is the problem or correct way of doing this?</p>
  
  <p>Thanks a lot.</p>