TheUltimateOptimist / config

MIT License
0 stars 0 forks source link

nachrichten technik beispiele folien not displayed with the right page width and page height #3

Closed TheUltimateOptimist closed 8 months ago

TheUltimateOptimist commented 8 months ago

it seems to be a problem with the specific pdf file, so most likely not a bug in my script closing this for now

TheUltimateOptimist commented 8 months ago

reopening because it is now also the case for the lecture slides

TheUltimateOptimist commented 8 months ago

the reason is that pdfinfo yields wrong width and height, the slides are a4 but horizontal, pdfinfo unfortuanetly yiles width and height as if it was vertical

TheUltimateOptimist commented 8 months ago

solution was to use the python library pymupdf instead for retrieving the dimensions