Changes between Version 28 and Version 29 of PdfImagePlugin


Ignore:
Timestamp:
Sep 3, 2016, 7:44:41 AM (8 years ago)
Author:
figaro
Comment:

Rearranged paragraphs to maintain consistency

Legend:

Unmodified
Added
Removed
Modified
  • PdfImagePlugin

    v28 v29  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = Pdf Images as PNG in Wiki
     3= Display PDF or SVG images as PNG in wiki pages and tickets
    44
    55== Description
    66
    7 This plugin inserts vector graphics like PDFs or SVGs as PNG-images into a Trac wiki page or ticket.
     7This plugin inserts vector graphics like PDFs or SVGs as PNG-images into a Trac wiki page or Trac ticket.
    88
    99It 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].
     
    1313Examples:
    1414{{{
    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")]]
    1616[[PdfImg(source:testpro/drawing.svg@10,width=600,caption="SVG-image from repository in version 10")]]
    1717[[PdfImg(ticket:1:file.pdf)]]
     18[[PdfImg(sketch.svg, cache=False)]]
     19[[PdfImg(OtherPage:foo.pdf)]]
     20[[PdfImg(file:relpath/to/foo.pdf)]]
    1821}}}
     22
     23More examples:
     24
     25[[Image(PdfImg_screenshot.png, border=2)]]
    1926
    2027'''Note''': PDF conversion with !ImageMagick-`convert`:
     
    7279You can check out PdfImagePlugin from [/svn/pdfimageplugin here] using Subversion, or [source:pdfimageplugin browse the source] with Trac.
    7380
    74 == Example
     81== Installation
    7582
    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)]]
     83General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    8684
    8785== Configuration