Skip to main content
ImageSourceTypeEnum enumeration constants are used to define possible sources for input images. This helps determine whether to use special preprocessing techniques.
typedef enum {
 IST_Auto,
 IST_Photo,
 IST_Scan,
 IST_Screenshot,
 IST_SyntheticImage,
 IST_SyntheticText
} ImageSourceTypeEnum;

Elements

NameDescription
IST\_AutoDetect the image origin automatically.
IST\_PhotoThe image is a photo.
IST\_ScanThe image is a scan.
IST\_ScreenshotThe image is a screenshot.
IST\_SyntheticImageThe image contains text that is obtained by rasterizing digital fonts. For example, a digitally-born image-only PDF document.
IST\_SyntheticTextThe image contains a text layer. For example, a digitally-born PDF document with a text layer.

Used in

IPrepareImageMode::ImageSourceType