r10 - 26 Mar 2008 - 21:25:16 - PeterThoenyYou are here: TWiki >  Plugins Web > AnyWikiDrawPlugin
Tags:
diagram 1 Add my vote for this tag, drawing 2 Add my vote for this tag, editing 1 Add my vote for this tag, , create new tag

AnyWikiDrawPlugin

ALERT! NOTE: This is an early release use for development purpose only.

AnyWikiDraw adds support for drawing directly into a Wiki page.

The following file formats are supported:

  • Scaleable Vector Graphics (.svg, .svgz). – Use this file format, if you want to create an illustration, for example a street map. SVG retains the structure of a drawing, which allows to edit existing drawings efficiently. SVG drawings can be scaled and edited multiple times without loss of quality. Files with the extension .svgz are compressed versions of the .svg files.

  • Portable Network Graphics (PNG). – Use this file format, if you want to retouch a picture, for example, a photograph of your home. PNG does not retain the structure of a drawing. If you intend to add structured drawing elements to a photograph (like captions, or line drawings), consider pasting the PNG image into an SVG file, and adding these drawing elements using SVG. PNG images degrade in quality if they are scaled. PNG images can be edited multiple times without loss of quality.

  • Joint Photographics Expert Group (JPEG). – This file format is often used to publish photographs, because it is able to compress them highly. If possible, convert the photograph into PNG for photo retouching, or paste it into an SVG image before adding structural drawing elements to it. JPEG images degrade in quality if they are scaled, or if they are edited multiple times.

This plugin is very similar in functionality to the TWiki:Plugins.TWikiDrawPlugin. In a future version, it may be used as a replacement for the TWikiDrawPlugin.

AnyWikiDraw is available for other Wikis as well, currently TWiki, MediaWiki and PmWiki are supported.

The main project site of AnyWikiDraw is at Sourceforge.net: http://sourceforge.net/projects/anywikidraw/

Warning: This is an experimental plugin. Data loss may occur. Install it only on a Wiki system that does not contain critical data.

Syntax Rules

   %ANYWIKIDRAW{ "drawing.svg" width="240" height="320"}%
   %AWDRAW{ "drawing.svg" width="240" height="320"}%

  • The parameter drawing.svg specifies the name of the drawing file.
  • The drawing file can have one of the following extensions .draw, .svg, .svgz, .png, .jpg.
  • If you specify a drawing file that does not yet exist in your Wiki, the drawing is created the first time you save a drawing.
  • The parameter width specifies the width of the drawing.
  • The parameter height specifies the height of the drawing.

Examples

Plugin Settings

Installation Instructions

  • Download on of the archive and unpack into your TWiki installation directory.
  • Fix the shebang line and file extension for /bin/pack200.
  • Fix your files access right.
  • Review your apache configuration keeping in mind the newly added script /bin/pack200.

Plugin Info

Plugin Author: TWiki:Main.WernerRandelshofer
Copyright: © 2007, TWiki:Main.WernerRandelshofer
License: Client-side code: LGPL (Lesser GNU General Public License) and/or CC-By 3.0 (Creative Commons Attribution 3.0). Server-side code: GPL (GNU General Public License).
Plugin Version: 30 Aug 2007 (V1.000)
Change History:  
14 Feb 2008: Proper packaging and code cleaning by TWiki:Main.StephaneLenclud
30 Aug 2007: Initial version
TWiki Dependency: $TWiki::Plugins::VERSION 1.1
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Benchmarks: GoodStyle nn%, FormattedSearch nn%, AnyWikiDrawPlugin nn%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/AnyWikiDrawPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/AnyWikiDrawPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/AnyWikiDrawPluginAppraisal

Related Topics: TWikiPlugins, DeveloperDocumentationCategory, AdminDocumentationCategory, TWikiPreferences

-- TWiki:Main.WernerRandelshofer - 30 Aug 2007

Topic attachments
I Attachment Action Size Date Who Comment
elsemd5 AnyWikiDrawPlugin.md5 manage 0.2 K 14 Feb 2008 - 01:58 StephaneLenclud  
ziptgz AnyWikiDrawPlugin.tgz manage 551.8 K 14 Feb 2008 - 01:58 StephaneLenclud  
zipzip AnyWikiDrawPlugin.zip manage 1675.9 K 26 Mar 2008 - 20:48 WernerRandelshofer AnyWikiDraw? for TWiki 0.11.0.1
elseEXT AnyWikiDrawPlugin_installer manage 29.7 K 14 Feb 2008 - 01:58 StephaneLenclud  
elsesvg empty.svg manage 0.2 K 11 Jun 2007 - 06:08 WernerRandelshofer  
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r10 < r9 < r8 < r7 < r6 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo