Changes between Version 28 and Version 29 of PdfImagePlugin
- Timestamp:
- Sep 3, 2016, 7:44:41 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PdfImagePlugin
v28 v29 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Pdf Images as PNG in Wiki3 = Display PDF or SVG images as PNG in wiki pages and tickets 4 4 5 5 == Description 6 6 7 This plugin inserts vector graphics like PDFs or SVGs as PNG-images into a Trac wiki page or ticket.7 This plugin inserts vector graphics like PDFs or SVGs as PNG-images into a Trac wiki page or Trac ticket. 8 8 9 9 It requires `convert` from [http://www.imagemagick.org ImageMagick]. However, `convert` may fail on specific files. Additionally, Ghostscript is required for `convert` on Windows, which is available [http://pages.cs.wisc.edu/~ghost/doc/GPL/gpl902.htm here]. … … 13 13 Examples: 14 14 {{{ 15 [[PdfImg(Book.pdf, width=400,page=100,caption="Page 100 from Book Example")]]15 [[PdfImg(Book.pdf, width=400, page=100, caption="Page 100 from Book Example")]] 16 16 [[PdfImg(source:testpro/drawing.svg@10,width=600,caption="SVG-image from repository in version 10")]] 17 17 [[PdfImg(ticket:1:file.pdf)]] 18 [[PdfImg(sketch.svg, cache=False)]] 19 [[PdfImg(OtherPage:foo.pdf)]] 20 [[PdfImg(file:relpath/to/foo.pdf)]] 18 21 }}} 22 23 More examples: 24 25 [[Image(PdfImg_screenshot.png, border=2)]] 19 26 20 27 '''Note''': PDF conversion with !ImageMagick-`convert`: … … 72 79 You can check out PdfImagePlugin from [/svn/pdfimageplugin here] using Subversion, or [source:pdfimageplugin browse the source] with Trac. 73 80 74 == Example81 == Installation 75 82 76 {{{ 77 [[PdfImg(Book.pdf, width=400, page=100, caption="Page 100 from Book Example")]] 78 [[PdfImg(sketch.svg, cache=False)]] 79 [[PdfImg(OtherPage:foo.pdf)]] 80 [[PdfImg(file:relpath/to/foo.pdf)]] 81 }}} 82 83 which is then displayed as: 84 85 [[Image(PdfImg_screenshot.png)]] 83 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 86 84 87 85 == Configuration