You are here: com.dtsearch.engine Package > Constants > FileInfoFlags Class > FileInfoFlags.fiImageOnly Field
Close
dtSearch Engine API for Java
FileInfoFlags.fiImageOnly Field

The document contains images without text, other than metadata and annotations.

Syntax
Java
public static final int fiImageOnly = 0x0400;

This flag can be used to detect image-only PDF files, but it is not a perfect indicator because a file could need OCR and still have some text in it. For example, a PDF file may have one page with text and 10 pages of scanned images, or it may have scanned images and a bit of text (but not the text of the scanned images) on each page.

Copyright (c) 1998-2019 dtSearch Corp. All rights reserved.