Close
dtSearch Engine API for Java
FileInfoFlags.fiImageOnly Field
Syntax
Java
public static final int fiImageOnly = 0x0400;

The document contains images without text, other than metadata and annotations. 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.