<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I'm using OpenSlide in a csharp project via P/Invoke. &nbsp;It works fine for the most part but on a particular Aperio slide data file I get an error dialog box that states: 'Can not read TIFF directory count'. &nbsp;Note that this file <i>may</i>&nbsp;be corrupt in some way. &nbsp;I attempted catch this error by wrapping the OpenSlide calls in a try/catch but this did not prevent the dialogs from opening.</div><div><br></div><div>Can anyone give me any hints as to what might be the problem?</div><div><br></div><div>Ideally I'd like my application to gracefully handle corrupt slide data files.</div><div><br></div><div>Thanks,</div><div>Tim</div></body></html>