wiki:PdfImagePlugin

Version 4 (modified by anonymous, 2 years ago) (diff)

--

PdfImages as PNG in Wiki

Description

Insert PDFs or vectorgraphics like SVGs as PNG-Image into a wikipage. This is somehow an extension of the base Image-Macro. 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.

Requirements

  • Install convert from the ImageMagick-suite.
  • Tested -so far only- on Linux

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 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 09:10:12
changed external convert command according
ticket:9874#comment:5
[11356] by ursaw on 2012-03-02 22:13:38
#9842 single quotes in convert command are optional under Linux, Windows dont like them..
[11343] by ursaw on 2012-02-29 20:14:47
changed files and folders to lowercase

Author/Contributors

Author: ursaw
Maintainer: ursaw
Contributors:

Attachments (1)

Download all attachments as: .zip