scour.inx revision 654009ff682f4af41ae8ec2260e3562b769cb1fb
29ed3ddde7ac0c63786946b42e478f24554085d5jeff_schiller<?xml version="1.0" encoding="UTF-8"?>
29ed3ddde7ac0c63786946b42e478f24554085d5jeff_schiller<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
1298782991860e0fa520aac3222e0da0fd299a29helix <_name>Optimized SVG Output</_name>
29ed3ddde7ac0c63786946b42e478f24554085d5jeff_schiller <id>org.inkscape.output.scour</id>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <dependency type="executable" location="extensions">scour.inkscape.py</dependency>
b6a977ede002f585667208a8730b00835944e954JazzyNico <param name="tab" type="notebook">
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <page name="Options" _gui-text="Options">
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Number of significant digits for coordinates:"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Specifies the number of significant digits that should be output for coordinates. Note that significant digits are *not* the number of decimals but the overall number of digits in the output. For example if a value of &quot;3&quot; is specified, the coordinate 3.14159 is output as 3.14 while the coordinate 123.675 is output as 124."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="set-precision" type="int">5</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param name="spacer" type="description">&#160;</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Shorten color values"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Convert all color specifications to #RRGGBB (or #RGB where applicable) format."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="simplify-colors" type="boolean">true</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Convert CSS attributes to XML attributes"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Convert styles from style tags and inline style=&quot;&quot; declarations into XML attributes."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="style-to-xml" type="boolean">true</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param name="spacer" type="description">&#160;</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Collapse groups"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Remove useless groups, promoting their contents up one level. Requires &quot;Remove unused IDs&quot; to be set."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="group-collapsing" type="boolean">true</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Create groups for similar attributes"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Create groups for runs of elements having at least one attribute in common (e.g. fill-color, stroke-opacity, ...)."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="create-groups" type="boolean">true</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param name="spacer" type="description">&#160;</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Keep editor data"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Don't remove editor-specific elements and attributes. Currently supported: Inkscape, Sodipodi and Adobe Illustrator."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="keep-editor-data" type="boolean">false</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Keep unreferenced definitions"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Keep element definitions that are not currently used in the SVG"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="keep-unreferenced-defs" type="boolean">false</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param name="spacer" type="description">&#160;</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Work around renderer bugs"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Works around some common renderer bugs (mainly libRSVG) at the cost of a slightly larger SVG file."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="renderer-workaround" type="boolean">true</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun </page>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <page name="Output" _gui-text="SVG Output">
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <_param name="SVG_doc" type="description" appearance="header">Document options</_param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Remove the XML declaration"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Removes the XML declaration (which is optional but should be provided, especially if special characters are used in the document) from the file header."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="strip-xml-prolog" type="boolean">false</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Remove metadata"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Remove metadata tags along with all the contained information, which may include license and author information, alternate versions for non-SVG-enabled browsers, etc."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="remove-metadata" type="boolean">false</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Remove comments"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Remove all XML comments from output."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="enable-comment-stripping" type="boolean">false</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Embed raster images"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Resolve external references to raster images and embed them as Base64-encoded data URLs."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="embed-rasters" type="boolean">true</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Enable viewboxing"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Set page size to 100%/100% (full width and height of the display area) and introduce a viewBox specifying the drawings dimensions."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="enable-viewboxing" type="boolean">false</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param name="spacer" type="description">&#160;</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <_param name="pretty_print" type="description" appearance="header">Pretty-printing</_param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Format output with line-breaks and indentation"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Produce nicely formatted output including line-breaks. If you do not intend to hand-edit the SVG file you can disable this option to bring down the file size even more at the cost of clarity."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="line-breaks" type="boolean">true</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Indentation characters:"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="The type of indentation used for each level of nesting in the output. Specify &quot;None&quot; to disable indentation. This option has no effect if &quot;Format output with line-breaks and indentation&quot; is disabled."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="indent" type="enum">
b6a977ede002f585667208a8730b00835944e954JazzyNico <_item value="space">Space</_item>
b6a977ede002f585667208a8730b00835944e954JazzyNico <_item value="tab">Tab</_item>
05445c57397b3e794e8d49df2f80af94d294da78JazzyNico <_item msgctxt="Indent" value="none">None</_item>
b6a977ede002f585667208a8730b00835944e954JazzyNico </param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Depth of indentation:"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="The depth of the chosen type of indentation. E.g. if you choose &quot;2&quot; every nesting level in the output will be indented by two additional spaces/tabs."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="nindent" type="int">1</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Strip the &quot;xml:space&quot; attribute from the root SVG element"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="This is useful if the input file specifies &quot;xml:space='preserve'&quot; in the root SVG element which instructs the SVG editor not to change whitespace in the document at all (and therefore overrides the options above)."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="strip-xml-space" type="boolean">false</param>
b6a977ede002f585667208a8730b00835944e954JazzyNico </page>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <page name="IDs" _gui-text="IDs">
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Remove unused IDs"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Remove all unreferenced IDs from elements. Those are not needed for rendering."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="enable-id-stripping" type="boolean">true</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param name="spacer" type="description">&#160;</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Shorten IDs"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Minimize the length of IDs using only lowercase letters, assigning the shortest values to the most-referenced elements. For instance, &quot;linearGradient5621&quot; will become &quot;a&quot; if it is the most used element."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="shorten-ids" type="boolean">false</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Prefix shortened IDs with:"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Prepend shortened IDs with the specified prefix."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="shorten-ids-prefix" type="string"></param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param name="spacer" type="description">&#160;</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Preserve manually created IDs not ending with digits"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Descriptive IDs which were manually created to reference or label specific elements or groups (e.g. #arrowStart, #arrowEnd or #textLabels) will be preserved while numbered IDs (as they are generated by most SVG editors including Inkscape) will be removed/shortened."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="protect-ids-noninkscape" type="boolean">true</param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Preserve the following IDs:"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="A comma-separated list of IDs that are to be preserved."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="protect-ids-list" type="string"></param>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <param _gui-text="Preserve IDs starting with:"
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun _gui-description="Preserve all IDs that start with the specified prefix (e.g. specify &quot;flag&quot; to preserve &quot;flag-mx&quot;, &quot;flag-pt&quot;, etc.)."
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun name="protect-ids-prefix" type="string"></param>
b6a977ede002f585667208a8730b00835944e954JazzyNico </page>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun </param>
29ed3ddde7ac0c63786946b42e478f24554085d5jeff_schiller <output>
29ed3ddde7ac0c63786946b42e478f24554085d5jeff_schiller <extension>.svg</extension>
29ed3ddde7ac0c63786946b42e478f24554085d5jeff_schiller <mimetype>image/svg+xml</mimetype>
1298782991860e0fa520aac3222e0da0fd299a29helix <_filetypename>Optimized SVG (*.svg)</_filetypename>
29ed3ddde7ac0c63786946b42e478f24554085d5jeff_schiller <_filetypetooltip>Scalable Vector Graphics</_filetypetooltip>
29ed3ddde7ac0c63786946b42e478f24554085d5jeff_schiller </output>
29ed3ddde7ac0c63786946b42e478f24554085d5jeff_schiller <script>
654009ff682f4af41ae8ec2260e3562b769cb1fbEduard Braun <command reldir="extensions" interpreter="python">scour.inkscape.py</command>
29ed3ddde7ac0c63786946b42e478f24554085d5jeff_schiller </script>
29ed3ddde7ac0c63786946b42e478f24554085d5jeff_schiller</inkscape-extension>