generateFilteredPreview

fun generateFilteredPreview(page: Page, parametricFilter: ParametricFilter): Bitmap

Generates filtered preview image based on the unfiltered document preview image and caches it in the file system.

Return

Generated filtered preview Bitmap.

Parameters

page

Existing page with unfiltered document image.

parametricFilter

Supported filter type.

See also

Throws

If the unfiltered document image does not exists for Page.

If there is a problem with access to image bitmap.