home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Inkscape / Inkscape-0.48.2-1-win32.exe / share / extensions / scour.inx < prev    next >
Extensible Markup Language  |  2011-07-08  |  3KB  |  49 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
  3.     <_name>Optimized SVG Output</_name>
  4.     <id>org.inkscape.output.scour</id>
  5.     <dependency type="executable" location="extensions">scour.py</dependency>
  6.     <dependency type="executable" location="extensions">svg_regex.py</dependency>
  7.     <dependency type="executable" location="extensions">yocto_css.py</dependency>
  8.     <param name="tab" type="notebook">
  9.         <page name="Options" _gui-text="Options">            
  10.             <param name="simplify-colors"  type="boolean" _gui-text="Simplify colors">true</param>
  11.             <param name="style-to-xml"  type="boolean" _gui-text="Style to xml">true</param>
  12.             <param name="group-collapsing"  type="boolean" _gui-text="Group collapsing">true</param>
  13.             <param name="enable-id-stripping"  type="boolean" _gui-text="Enable id stripping">false</param>
  14.             <param name="embed-rasters"  type="boolean" _gui-text="Embed rasters">true</param>
  15.             <param name="keep-editor-data"  type="boolean" _gui-text="Keep editor data">false</param>
  16.             <param name="enable-viewboxing" type="boolean" _gui-text="Enable viewboxing">false</param>
  17.             <param name="strip-xml-prolog"  type="boolean" _gui-text="Strip xml prolog">false</param>
  18.             <param name="set-precision"  type="int" _gui-text="Set precision">5</param>
  19.               <param name="indent" type="enum" _gui-text="Indent">
  20.                 <_item value="space">Space</_item>
  21.                 <_item value="tab">Tab</_item>
  22.                 <_item value="none">None</_item>
  23.             </param>
  24.         </page>
  25.         <page name="Help" _gui-text="Help">
  26.             <_param name="instructions" type="description" xml:space="preserve">This extension optimizes the SVG file according to the following options:
  27.     * Simplify colors: convert all colors to #RRGGBB format.
  28.     * Style to xml: convert styles into XML attributes.
  29.     * Group collapsing: collapse group elements.
  30.     * Enable id stripping: remove all un-referenced ID attributes.
  31.     * Embed rasters: embed rasters as base64-encoded data.
  32.     * Keep editor data: don't remove Inkscape, Sodipodi or Adobe Illustrator elements and attributes.
  33.     * Enable viewboxing: size image to 100%/100% and introduce a viewBox.
  34.     * Strip xml prolog: don't output the xml prolog.
  35.     * Set precision: set number of significant digits (default: 5).
  36.     * Indent: indentation of the output: none, space, tab (default: space).</_param>
  37.         </page>
  38.     </param>        
  39.     <output>
  40.         <extension>.svg</extension>
  41.         <mimetype>image/svg+xml</mimetype>
  42.         <_filetypename>Optimized SVG (*.svg)</_filetypename>
  43.         <_filetypetooltip>Scalable Vector Graphics</_filetypetooltip>
  44.     </output>
  45.     <script>
  46.         <command reldir="extensions" interpreter="python">scour.inkscape.py</command>
  47.     </script>
  48. </inkscape-extension>
  49.