tweak popperload tile size

to make it big enough for an A4 page at 300dpi
This commit is contained in:
John Cupitt 2022-08-26 13:14:44 +01:00
parent f4a3c7eb54
commit f4cd55ddf5
1 changed files with 4 additions and 1 deletions

View File

@ -78,8 +78,11 @@
/* Render PDFs with tiles this size. They need to be pretty big to limit
* overcomputation.
*
* An A4 page at 300dpi is 3508 pixels, so this should be enough to prevent
* most rerendering.
*/
#define TILE_SIZE (2000)
#define TILE_SIZE (4000)
#define VIPS_TYPE_FOREIGN_LOAD_PDF (vips_foreign_load_pdf_get_type())
#define VIPS_FOREIGN_LOAD_PDF( obj ) \