4/6/2023 0 Comments Pdfinfo platoweb![]() ![]() If instead this parameter is set to 300 dpi, the width will be 2480 pixels. This yields an image 1240 pixels wide (at 150 dpi). For example, a PDF page with the European size A4 is 210 mm wide, corresponding to 595 points (at 72 dpi). $wgPdfProcessor (default = "gs") path to your ghostscript implementation $wgPdfPostProcessor (default = "convert") path to your imagemagick convert $wgPdfInfo (default = "pdfinfo") path to your pdfinfo $wgPdftoText (default = "pdftotext") path to your pdftotext $wgPdfOutputExtension (default = "jpg") preferred output format $wgPdfHandlerDpi (default = "150" ) resolution in dpi The extension extracts a bitmap image for each page of the PDF, using this resolution (dpi = dots per inch). You can (or, depending on the operating system of the server, will have to) set some variables in the "LocalSettings.php" file: Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.Type the following in your shell to see if you have the above installed first: On Ubuntu and Debian, the "poppler-utils" package can be used instead of "xpdf-utils". If you see "0 × 0 pixel" on the file description of a PDF, you lack this package. This extension requires the following packages to be installed first:ĭoes dynamic resizing and thumbnailing of imagesĮxtracts metadata from PDF files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |