title: How to render Tiff format files in html using angular8
body: <p>i have a upload section in my application, but here except tiff format files, it is working fine with png,jpeg and other image formats, but not with the tiff format. Here i am not able to show as preview after the file has been choosed.
  Can anyone help me to make it work.</p>
  
  <p>DEMO:
  <a href="https://stackblitz.com/edit/angular-file-upload-preview-ejpdnw?file=app/app.component.ts" rel="nofollow noreferrer">DEMO</a></p>
  
  <p>TS:</p>
  
  <pre><code>onSelectFile(event) {
      if (event.target.files &amp;&amp; event.target.files[0]) {
        var reader = new FileReader();
        reader.readAsDataURL(event.target.files[0]); 
        reader.onload = (event) =&gt; { 
          this.url = event.target.result;
        }
      }
    }
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;input class="sr-only" id="changePicture" type="file" (change)="onSelectFile($event)"
                                      accept="image/x-png,image/gif,image/jpeg,image/bmp,image/tiff,image/eps,image/jpg"&gt;
  </code></pre>