Changes between Version 27 and Version 28 of PdfImagePlugin
- Timestamp:
- Dec 1, 2015, 10:19:40 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PdfImagePlugin
v27 v28 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = !PdfImages as PNG in Wiki3 = Pdf Images as PNG in Wiki 4 4 5 5 == Description … … 18 18 }}} 19 19 20 === Acknowledgement21 22 20 '''Note''': PDF conversion with !ImageMagick-`convert`: 23 1. may fail on specific PDFs. This is not a problem of the plugin, but of `convert`. In this case you will get an error like "{{{ Can't display foo.pdf, ImageMagick->convert failed with errorcode=... , command=convert ... }}}"21 1. may fail on specific PDFs. This is not a problem of the plugin, but of `convert`. In this case you will get an error like {{{ Can't display foo.pdf, ImageMagick->convert failed with errorcode=... , command=convert ... }}} 24 22 2. if not restricted to certain pages, it can take very long; example: Converting a PDF file of 400 pages by simply {{{ [[PdfImg(test.pdf)]] }}} took several minutes! See #9874, #9875. 25 23 … … 62 60 63 61 If you have any issues, create a 64 [/newticket?component=PdfImagePlugin &owner=ursawnew ticket].62 [/newticket?component=PdfImagePlugin new ticket]. 65 63 66 64 [[TicketQuery(component=PdfImagePlugin&group=type,format=progress)]] … … 77 75 78 76 {{{ 79 [[PdfImg(Book.pdf, width=400,page=100,caption="Page 100 from Book Example")]]80 [[PdfImg(sketch.svg, cache=False)]]77 [[PdfImg(Book.pdf, width=400, page=100, caption="Page 100 from Book Example")]] 78 [[PdfImg(sketch.svg, cache=False)]] 81 79 [[PdfImg(OtherPage:foo.pdf)]] 82 80 [[PdfImg(file:relpath/to/foo.pdf)]] … … 89 87 == Configuration 90 88 91 No configuration is needed except to use the Resource 'file:' the following configuration must be set:89 No configuration is needed, except when using the resource 'file:' the following configuration must be set: 92 90 93 Suppose your server is ''http://example.com'' and the webserver config mapped your local directory `/absolute/entry/directory` to the public directory `entrydir`, then your configuration for the ''file:''-resource looks like:91 Suppose your server is `http://example.com` and the webserver config mapped your local directory `/absolute/entry/directory` to the public directory `entrydir`, then your configuration for the `file:`-resource looks like: 94 92 95 93 {{{#!ini