title: TIFF file and image converting (PHP/HTML)
body: <p>I don't know much about image types, especially when it comes to an extension called .tif.</p>
  
  <p>My current customer obtains the case results from the court as a .tif file by connecting to Court database via SOAP/CURL. Right now, he is manually converting every .tif file to .jpeg with a third party application and uploading them to his server. However, he is having storage issues because the documents sometimes may be bigger than 100 pages, hence 100 different .tif files.</p>
  
  <p>He also told me that the .tif files the database sends is pretty small comparing to his JPEG types so he's willing to upload them directly if he can find a way to show .tif files in the website.</p>
  
  <p>Basically, we have two task:</p>
  
  <ol>
  <li>Find a way to show .tif image files in website and avoid .jpeg conversions, or;</li>
  <li>Find a way to covert .tif files into popular image types (like gif, png, jpg) with smallest size as possible (User still should be able to read the text written.) so we can show them with html img tag.</li>
  </ol>
  
  <p>Any suggestions would be greatly appreciated. I'm looking for long term solutions instead of saving the day.</p>
  
  <p>Ps. the Court db doesn't send anything else except .tif files.</p>