Version 2 (modified by 12 years ago) (diff) | ,
---|
Contents
PdfImage
Description
Insert PDFs or vectorgraphics like SVGs as PNG-Image into a wikipage. This is somehow an extension of the base Image-Macro. Requires convert from ImageMagick. This means you
- either must install some ImageMagick stuff
- or it calls an online conversion at the ImageMagick server.
Please, clarify which one is true. The handling and the parameters are inspired by LaTeX includegraphics.
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.
Parameters
Parameter | Value | default | |
---|---|---|---|
pdffile | location of PDF-file | required | |
page | Page to display | 1 | starting with 1 |
width | width in pixel | 600 | must be absolute value |
caption | Caption under Image | none | |
label | anchor to link to | ||
cache | build once or each time | True | time consumption or changing vectorgraphics |
align | left|right | nothing |
Examples
[[PdfImg(Book.pdf,width=400,page=100,caption="Page 100 from Book Example")]] [[PdfImg(sketch.svg,cache=False)]]
Bugs/Feature Requests
Existing bugs and feature requests for PdfImagePlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from [download:pdfimageplugin here].
Source
You can check out PdfImagePlugin from here using Subversion, or browse the source with Trac.
Example
[[PdfImg(Book.pdf,width=400,page=100,caption="Page 100 from Book Example")]] [[PdfImg(sketch.svg,cache=False)]]
Recent Changes
- 11408 by ursaw on 2012-03-21 08:10:12
-
changed external convert command according
ticket:9874#comment:5
- 11356 by ursaw on 2012-03-02 21:13:38
-
#9842 single quotes in convert command are optional under Linux, Windows dont like them..
- 11343 by ursaw on 2012-02-29 19:14:47
-
changed files and folders to lowercase
(more)
Author/Contributors
Attachments (1)
-
PdfImg_screenshot.png (63.1 KB) - added by 12 years ago.
Screenshot with PDF and SVG
Download all attachments as: .zip