Thumbnail Generation
PDF Highlighter can generate page thumbnails as a part of document indexing process.
highlighter {
indexing {
buildPageThumbs = [
{
page = 1 # document page for which to generate the thumbnail (default is 1)
scale = 1 # scale factor (default is 1)
format = "png" # image format (default is "png")
width = 170 # max width
height = 240 # max height
filepath = "/my/thumbs/{docId}.{format}" # image path and file naming scheme
}
]
}
}
The following variables can be used in the filepath
:
docId
- Internal document identifier generated by HighlighterdocCachePath
- Path to document cache folderthumbId
- Thumbnail index in buildPageThumbspage
format
width
height
scale