https://wiki.inkscape.org/wiki/api.php?action=feedcontributions&user=Abel&feedformat=atomInkscape Wiki - User contributions [en]2024-03-28T23:25:10ZUser contributionsMediaWiki 1.36.1https://wiki.inkscape.org/wiki/index.php?title=Inkscape_SVG_vs._plain_SVG&diff=5880Inkscape SVG vs. plain SVG2006-01-31T15:08:58Z<p>Abel: /* Inkscape SVG vs. Plain SVG */</p>
<hr />
<div>== Inkscape SVG vs. Plain SVG ==<br />
<br />
Some notes about "Inkscape SVG" [http://sourceforge.net/mailarchive/forum.php?thread_id=7412326&forum_id=37513 ref]:<br />
* the default mode of saving<br />
* standards-conforming (the SVG standard permits these kinds of extensions)<br />
* should render identically with or without the inkscape extensions<br />
* gives Inkscape hints how to treat things in the UI -- for example, whether to treat a given group as a layer, or whether path nodes are cusp/flat/whatever<br />
* seems to have a smaller filesize vs "Plain SVG" for some odd reason<br />
<br />
"Saving document as 'plain SVG' actually invokes exporter. All objects will be reconstructed from parsed data, but overall object hierarchy will be preserved." -- quote from the documentation.<br />
<br />
From my perspective, <br />
* inkscape svg is basically the same as plain svg, just with a couple of extra commands (in seperate namespaces) added, which the inkscape tools use to keep track of their work<br />
* if you edit an inkscape svg in any other SVG editor, then it should appear as any other plain SVG, if not, then you can safely remove all references to inkscape: or sophadia:, and just be left with the plain svg (?)<br />
* however, if you then re-edit the SVG in inkscape (after hand editing, for example) 'without' removing the references to inkscape in the object that has been edited (for an example if you edit a path created using the inkscape star tool), then inkscape will re-generate the SVG path d="" attributes using the information that 'it' has stored under its namespace, and therefore getting rid of any editing to the path of that you, the user have done.<br />
<br />
-please correct as neccessary<br />
Thomas<br />
<br />
OK, a little table of the extentions that inkscape SVG uses:<br />
<br />
<svg><br />
inkscape:output_extension<br />
inkscape:version<br />
(sodipodi:docbase)<br />
(sodipodi:docname)<br />
sodipodi:modified<br />
sodipodi:version<br />
<sodipodi:namedview><br />
bordercolor<br />
borderopacity<br />
id<br />
inkscape:cx<br />
inkscape:cy<br />
inkscape:pageopacity<br />
inkscape:pageshadow<br />
inkscape:window-height<br />
inkscape:window-width<br />
inkscape:zoom<br />
pagecolor<br />
<svg:07:07, 31 January 2006 (PST)Gradients><br />
inkscape:collect<br />
<svg:path (in patten defs)><br />
sodipodi:cx<br />
sodipodi:cy<br />
sodipodi:rx<br />
sodipodi:ry<br />
<svg :path (in spiral)><br />
sodipodi:argument<br />
sodipodi:cx<br />
sodipodi:cy<br />
sodipodi:expansion<br />
sodipodi:radius<br />
sodipodi:revolution<br />
sodipodi:t0<br />
sodipodi:type<br />
<br />
<svg:path (in star)><br />
inkscape:flatsided<br />
inkscape:randomized<br />
inkscape:rounded<br />
sodipodi:arg1<br />
sodipodi:arg2<br />
sodipodi:cx<br />
sodipodi:cy<br />
sodipodi:r1 <br />
sodipodi:r2 <br />
sodipodi:sides<br />
sodipodi:type<br />
<tiled clones><br />
first tiled shape (clone)<br />
inkscape:tile-cx<br />
inkscape:tile-cy<br />
inkscape:tile-h<br />
inkscape:tile-w<br />
<others><br />
inkscape:tiled-clone-of<br />
sodipodi:nodetypes?</div>Abelhttps://wiki.inkscape.org/wiki/index.php?title=Inkscape_SVG_vs._plain_SVG&diff=5879Inkscape SVG vs. plain SVG2006-01-31T15:07:20Z<p>Abel: /* Inkscape SVG vs. Plain SVG */</p>
<hr />
<div>== Inkscape SVG vs. Plain SVG ==<br />
<br />
Some comments about "Inkscape SVG" [http://sourceforge.net/mailarchive/forum.php?thread_id=7412326&forum_id=37513 ref]:<br />
* the default mode of saving<br />
* standards-conforming (the SVG standard permits these kinds of extensions)<br />
* should render identically with or without the inkscape extensions<br />
* gives Inkscape hints how to treat things in the UI -- for example, whether to treat a given group as a layer, or whether path nodes are cusp/flat/whatever<br />
* seems to have a smaller filesize vs "Plain SVG" for some odd reason<br />
<br />
"Saving document as 'plain SVG' actually invokes exporter. All objects will be reconstructed from parsed data, but overall object hierarchy will be preserved." -- quote from the documentation.<br />
<br />
From my perspective, <br />
* inkscape svg is basically the same as plain svg, just with a couple of extra commands (in seperate namespaces) added, which the inkscape tools use to keep track of their work<br />
* if you edit an inkscape svg in any other SVG editor, then it should appear as any other plain SVG, if not, then you can safely remove all references to inkscape: or sophadia:, and just be left with the plain svg (?)<br />
* however, if you then re-edit the SVG in inkscape (after hand editing, for example) 'without' removing the references to inkscape in the object that has been edited (for an example if you edit a path created using the inkscape star tool), then inkscape will re-generate the SVG path d="" attributes using the information that 'it' has stored under its namespace, and therefore getting rid of any editing to the path of that you, the user have done.<br />
<br />
-please correct as neccessary<br />
Thomas<br />
<br />
OK, a little table of the extentions that inkscape SVG uses:<br />
<br />
<svg><br />
inkscape:output_extension<br />
inkscape:version<br />
(sodipodi:docbase)<br />
(sodipodi:docname)<br />
sodipodi:modified<br />
sodipodi:version<br />
<sodipodi:namedview><br />
bordercolor<br />
borderopacity<br />
id<br />
inkscape:cx<br />
inkscape:cy<br />
inkscape:pageopacity<br />
inkscape:pageshadow<br />
inkscape:window-height<br />
inkscape:window-width<br />
inkscape:zoom<br />
pagecolor<br />
<svg:07:07, 31 January 2006 (PST)Gradients><br />
inkscape:collect<br />
<svg:path (in patten defs)><br />
sodipodi:cx<br />
sodipodi:cy<br />
sodipodi:rx<br />
sodipodi:ry<br />
<svg :path (in spiral)><br />
sodipodi:argument<br />
sodipodi:cx<br />
sodipodi:cy<br />
sodipodi:expansion<br />
sodipodi:radius<br />
sodipodi:revolution<br />
sodipodi:t0<br />
sodipodi:type<br />
<br />
<svg:path (in star)><br />
inkscape:flatsided<br />
inkscape:randomized<br />
inkscape:rounded<br />
sodipodi:arg1<br />
sodipodi:arg2<br />
sodipodi:cx<br />
sodipodi:cy<br />
sodipodi:r1 <br />
sodipodi:r2 <br />
sodipodi:sides<br />
sodipodi:type<br />
<tiled clones><br />
first tiled shape (clone)<br />
inkscape:tile-cx<br />
inkscape:tile-cy<br />
inkscape:tile-h<br />
inkscape:tile-w<br />
<others><br />
inkscape:tiled-clone-of<br />
sodipodi:nodetypes?</div>Abel