| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = PdfImage = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | Insert PDFs or vectorgraphics like SVGs as PNG-Image into a wikipage. This is somehow an extension of the base Image-Macro. |
| 8 | |
| 9 | Requires convert from [http://www.imagemagick.org ImageMagick]. |
| 10 | |
| 11 | The handling and the parameters are inspired by LaTeX includegraphics. |
| 12 | |
| 13 | The Location of the file can only be an attachment sofar. Locations in the SVN could lead into authentification Problems. External Locations means first downloading the resource. |
| 14 | |
| 15 | === Parameters === |
| 16 | ||= Parameter =||= Value =||= default =|| || |
| 17 | || `pdffile` || location of PDF-file || || required || |
| 18 | || page || Page to display || 1 || starting with '''1''' || |
| 19 | || width || width in pixel || 600 || must be absolute value || |
| 20 | || caption || Caption under Image || ''none'' || || |
| 21 | || label || anchor to link to || || || |
| 22 | || || || || || |
| 23 | || cache || build once or each time || True || time consumption or changing vectorgraphics || |
| 24 | || align || left|right || nothing || || |
| 25 | |
| 26 | |
| 27 | === Examples === |
| 28 | {{{ |
| 29 | [[PdfImg(Book.pdf,width=400,page=100,caption="Page 100 from Book Example")]] |
| 30 | [[PdfImg(sketch.svg,cache=False)]] |
| 31 | }}} |
| 32 | |
| 33 | == Bugs/Feature Requests == |
| 34 | |
| 35 | Existing bugs and feature requests for PdfImagePlugin are |
| 36 | [report:9?COMPONENT=PdfImagePlugin here]. |
| 37 | |
| 38 | If you have any issues, create a |
| 39 | [http://trac-hacks.org/newticket?component=PdfImagePlugin&owner=ursaw new ticket]. |
| 40 | |
| 41 | == Download == |
| 42 | |
| 43 | Download the zipped source from [download:pdfimageplugin here]. |
| 44 | |
| 45 | == Source == |
| 46 | |
| 47 | You can check out PdfImagePlugin from [http://trac-hacks.org/svn/pdfimageplugin here] using Subversion, or [source:pdfimageplugin browse the source] with Trac. |
| 48 | |
| 49 | == Example == |
| 50 | |
| 51 | {{{ |
| 52 | [[PdfImg(Book.pdf,width=400,page=100,caption="Page 100 from Book Example")]] |
| 53 | [[PdfImg(sketch.svg,cache=False)]] |
| 54 | }}} |
| 55 | |
| 56 | == Recent Changes == |
| 57 | |
| 58 | [[ChangeLog(pdfimageplugin, 3)]] |
| 59 | |
| 60 | == Author/Contributors == |
| 61 | |
| 62 | '''Author:''' [wiki:ursaw] [[BR]] |
| 63 | '''Maintainer:''' [wiki:ursaw] [[BR]] |
| 64 | '''Contributors:''' |