eikek bc1ec90b6e Allow subsampling when generating preview images
This cuts down considerably when high-dpi images are provided in pdfs.
The test file, scanned with 600dpi resulting in a 5.4M pdf file
contains a 9900x13800 image. This image is loaded into memory in order
to scale it down by PDFBox. This easily results in out of memory
errors (this image requires already ~400M). With subsampling the size
is reduced at most by a factor of 8. Still recommended to avoid large
dpi image-only scans for text based documents or increase the heap
size for joex.
2022-01-13 00:04:50 +01:00
..
2022-01-02 00:50:55 +01:00
2022-01-11 21:09:38 +01:00
2021-10-25 11:27:06 +02:00
2021-12-11 22:46:55 +01:00
2021-12-11 22:46:55 +01:00