[[PageOutline(2-5,Contents,pullout)]] = !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 be an attachment (wikipage or ticket) or a local file (keyword "file:"). Locations in the SVN could lead into authentification Problems. External Locations means first downloading the resource. '''Attention''' PDF conversion with !ImageMagick-`convert` may fail on specific PDF s. This is not a problem of the plugin, this is a problem of `convert`. === Requirements === * !Install `convert` from the [http://www.imagemagick.org ImageMagick]-suite. * Tested -so far only- on Linux * Tested on Trac version 0.11.7 and 0.12.2 === 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 || || == Bugs/Feature Requests == Existing bugs and feature requests for PdfImagePlugin are [report:9?COMPONENT=PdfImagePlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=PdfImagePlugin&owner=ursaw new ticket]. == Download == Download the zipped source from [download:pdfimageplugin here]. == Source == You can check out PdfImagePlugin from [http://trac-hacks.org/svn/pdfimageplugin here] using Subversion, or [source:pdfimageplugin browse the source] with Trac. == Example == {{{ [[PdfImg(Book.pdf,width=400,page=100,caption="Page 100 from Book Example")]] [[PdfImg(sketch.svg,cache=False)]] [[PdfImg(OtherPage:foo.pdf)]] [[PdfImg(file:relpath/to/foo.pdf)]] }}} [[Image(PdfImg_screenshot.png)]] == Configuration == No configuration is needed except to use the Resource 'file:' the following configuration must set: {{{ [pdfimg] file.prepath = /relative/entry/directory file.preurl = http://example.com/entrydir }}} == Recent Changes == [[ChangeLog(pdfimageplugin, 3)]] == Open Bugs == [[TicketQuery(COMPONENT=PdfImagePlugin,status!=closed,order=priority,desc=0,format=table,col=summary|component|type|status|priority|owner|severity|reporter)]] == Author/Contributors == '''Author:''' [wiki:ursaw] [[BR]] '''Maintainer:''' [wiki:ursaw] [[BR]] '''Contributors:'''
E-mail address and name can be saved in the Preferences.
Screenshot with PDF and SVG
Download all attachments as: .zip