How to best deal with photos passed to IFilter?

Posted by sharptooth on Stack Overflow See other posts from Stack Overflow or by sharptooth
Published on 2009-10-08T08:31:27Z Indexed on 2010/03/23 17:23 UTC
Read the original article Hit count: 311

I'm implementing an IFilter for indexing image formats. One problem is photos - many users have tons of photos, photos are huge and loading and searching for text on them is time consuming.

Yes, sometimes people use cameras instead of scanners for digitizing documents, but the potential problems IMO far outweight the possibility of encountering a document digitized with a photo camera. So my implementation will not extract text from photos at all.

What should the IFilter do once it detects that a given file is a photo image - indicate an error or return empty text?

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about search