<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CodeDread Blog &#187; inkscape</title>
	<atom:link href="http://www.codedread.com/blog/archives/tag/inkscape/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codedread.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 02 Jan 2012 15:30:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Inkscape Bug with Embedded Rasters</title>
		<link>http://www.codedread.com/blog/archives/2008/08/27/inkscape-bug-with-embedded-rasters/</link>
		<comments>http://www.codedread.com/blog/archives/2008/08/27/inkscape-bug-with-embedded-rasters/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 20:13:50 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[inkscape]]></category>

		<guid isPermaLink="false">http://blog.codedread.com/archives/2008/08/27/inkscape-bug-with-embedded-rasters/</guid>
		<description><![CDATA[Imagine for a moment: Joe User knows nothing about the SVG format other than it&#8217;s an image format. Starts a new document in Inkscape Imports a raster image (PNG) from the hard drive Saves image as SVG Uploads the SVG file to a clip art website Is baffled why the image displays fine on his [...]]]></description>
			<content:encoded><![CDATA[<p><object type="image/svg+xml" width="100" height="100" align="right" hspace="10" data="http://codedread.com/clipart/inkscape.svgz"><span/></object>Imagine for a moment:</p>
<ol>
<li>Joe User knows nothing about the <a href="http://www.w3.org/Graphics/SVG" title="Scalable Vector Graphics">SVG</a> format other than it&#8217;s an image format.</li>
<li>Starts a new document in <a href="http://inkscape.org/" title="Inkscape Vector Graphics Editor">Inkscape</a></li>
<li>Imports a raster image (PNG) from the hard drive</li>
<li>Saves image as SVG</li>
<li>Uploads the SVG file to a <a href="http://openclipart.org/" title="Open Clip Art Library">clip art</a> website</li>
<li>Is baffled why the <a href="http://www.w3.org/TR/SVG11/struct.html#ImageElement" title="svg:image element">image</a> displays fine on his computer in the browser but is blank for everyone else</li>
</ol>
<p><a href="http://openclipart.org/people/blasphemy/blasphemy_target_earth.svg">Yes</a> <a href="http://openclipart.org/people/blasphemy/blasphemy_shy_bunny.svg">this</a> <a href="http://openclipart.org/people/blasphemy/blasphemy_angry_bunny.svg">could</a> <a href="http://openclipart.org/people/blasphemy/blasphemy_banana.svg">really</a> <a href="http://openclipart.org/people/blasphemy/blasphemy_apple_with_a_hole.svg">happen</a>.  So how do we fix it?</p>
<ul>
<li>Warn during Import stage of local references?</li>
<li>Warn during Save stage of local references?</li>
<li>Embed raster as a <a href="http://tools.ietf.org/html/rfc2397">data: url</a> in the SVG source (breaking link with local file)?</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.codedread.com/blog/archives/2008/08/27/inkscape-bug-with-embedded-rasters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perception Is Everything</title>
		<link>http://www.codedread.com/blog/archives/2008/02/23/perception-is-everything/</link>
		<comments>http://www.codedread.com/blog/archives/2008/02/23/perception-is-everything/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 19:18:07 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[inkscape]]></category>
		<category><![CDATA[svgtidy]]></category>

		<guid isPermaLink="false">http://blog.codedread.com/archives/2008/02/23/perception-is-everything/</guid>
		<description><![CDATA[I think Inkscape needs to change its versioning scheme. Knowing nothing else, what would you think of a product that went from version 0.45 to version 0.46? Only minor changes? About half-done? One percent improvement? Not very polished? All of these are far from the truth with the latest preview of Inkscape 0.46. Some highlights [...]]]></description>
			<content:encoded><![CDATA[<p><object type="image/svg+xml" width="100" height="100" align="right" hspace="10" data="http://codedread.com/clipart/inkscape.svgz"><span/></object>I think <a href="http://www.inkscape.org/">Inkscape</a> needs to change its versioning scheme.  Knowing nothing else, what would you think of a product that went from version 0.45 to version 0.46?  Only minor changes?  About half-done?  One percent improvement?  Not very polished?  All of these are far from the truth with the latest preview of Inkscape 0.46.  <span id="more-431"></span></p>
<p>Some highlights from the <a href="http://wiki.inkscape.org/wiki/index.php/ReleaseNotes046">release notes</a>:</p>
<ul>
<li><a href="http://wiki.inkscape.org/wiki/index.php/ReleaseNotes046#3D_Box_tool">3D Box Tool</a></li>
<li>Implementation of <a href="http://wiki.inkscape.org/wiki/index.php/ReleaseNotes046#SVG_filters">many filters</a> to generate cool Photoshop-like effects</li>
<li>Import/Export of a variety of useful formats (<a href="http://wiki.inkscape.org/wiki/index.php/ReleaseNotes046#PDF_and_AI_import">PDF</a>, <a href="http://wiki.inkscape.org/wiki/index.php/ReleaseNotes046#XAML_import.2Fexport">XAML</a>)</li>
</ul>
<p>Last night when I toyed with it to create my <a href="http://www.codedread.com/clipart/lost.svgz">Lost</a> clip-art, I came up with the following two suggestions:</p>
<h3>1. Make the Colors Panel Easier to Find.</h3>
<p>Honestly, it took me awhile to figure this out.  This used to be the &#8220;Stroke/Fill&#8221; dialog, I think. The icon looks like a paintbrush.  It&#8217;s next to the big &#8216;T&#8217; on the Commands toolbar.  Honestly, I think people coming from other graphics program will think of this as a &#8220;Colors Dialog&#8221; and not a &#8220;Stroke/Fill&#8221; dialog &#8211; so come up with a better icon, one that reflects colors.  The tooltip needs reworking too:  &#8220;Edit objects&#8217; color, gradients, stroke width, arrowheads, dash patterns&#8221;.</p>
<h3>2. Create a Clip-Art Mode of Exporting</h3>
<p>In this mode, Inkscape should:</p>
<ul>
<li>Remove all elements and attributes not in the SVG and XLink namespaces</li>
<li>Remove unused id attributes</li>
<li>Vacuum defs automatically</li>
<li>Remove width/height attributes on the &#60;svg&#62; element and replace with a viewBox attribute.  Removing the intrinsic size will allow the image to scale to the browser window when viewing standalone.</li>
<li>Remove the style attribute and replace it with several equivalent attributes (style=&#8221;fill:#939393;&#8221; would become fill=&#8221;#939393&#8243;)</li>
<li>Remove unnecessary/redundant attributes (&#8220;stop-opacity:1&#8243;, for instance).  In particular, if there is no stroke on a path, remove all stroke-related attributes.</li>
<li>Collapse &#60;g&#62; elements as necessary, properly adjusting transforms</li>
</ul>
<p>In my experience, this roughly reduces the SVG to about 1/3 of the original size.  Compressing afterwards gets it even smaller (by at least half).  For instance, my Lost logo is only about 700 bytes!  What raster graphic format could display such high quality at full-screen at seven hundred bytes?  Looks most impressive with Opera or Firefox 3 because there is a blur filter in place.</p>
<p>All in all, I&#8217;m pleased where Inkscape is heading &#8211; it&#8217;s really becoming a world-class graphics editor.  If they could just make options for their SVG output quality (I know that you can save as Raw SVG and you can manually vacuum defs, but I think the above type of steps are necessary).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedread.com/blog/archives/2008/02/23/perception-is-everything/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ink On My Fingers</title>
		<link>http://www.codedread.com/blog/archives/2007/03/25/ink-on-my-fingers/</link>
		<comments>http://www.codedread.com/blog/archives/2007/03/25/ink-on-my-fingers/#comments</comments>
		<pubDate>Mon, 26 Mar 2007 02:47:27 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[inkscape]]></category>

		<guid isPermaLink="false">http://blog.codedread.com/archives/2007/03/25/ink-on-my-fingers/</guid>
		<description><![CDATA[I think Mike Shaver said it best when he stated (in a podcast here) that an Open Source project should do its best to let willing contributors get in and get out quickly. As a busy father, husband, home owner, and engineer &#8211; I don&#8217;t have a lot of time to contribute to open source [...]]]></description>
			<content:encoded><![CDATA[<p>I think <a href="http://shaver.off.net/diary/" title="Mike Shaver of Mozilla's Blog">Mike Shaver</a> said it best when he stated  (in a podcast <a href="http://fsoss.senecac.on.ca/2006/recordings/">here</a>) that an Open Source project should do its best to let willing contributors get in and get out quickly.  As a busy father, husband, home owner, and engineer &#8211; I don&#8217;t have a lot of time to contribute to open source projects, so when I do have <em>some</em> time, I&#8217;d like my efforts to count.  Ideally, it&#8217;s best if I can find a bug to fix that will directly impact the user experience (as opposed to changing some software plumbing underneath that doesn&#8217;t have any immediate user impact).  In other words, as a part time contributor with not a lot of time to invest, I want my efforts to have some immediate visible benefit.</p>
<p>Furthermore, it&#8217;s best to pick bugs (at least initially) that don&#8217;t require full-scale immersions into software architectures to figure out the root of the problem.  This <del>would</del>will likely change <del>if</del>as more time is spent working with such projects.</p>
<p>I just spent a half hour or so fixing a couple minor errors in the Basic tutorial in <a href="http://www.inkscape.org/">Inkscape</a>.  I had some back-and-forth conversations with <a href="http://moonbase.rydia.net/mental/blog/">MenTaLguY</a> and <a href="http://www.bryceharrington.org/">Bryce</a> on IRC and mailing lists earlier in the week where I learned that the tutorials, while deployed as <a href="http://www.w3.org/Graphics/SVG/" title="Scalable Vector Graphics">SVG</a>, are actually stored as <a href="http://en.wikipedia.org/wiki/Docbook">DocBook</a> format in the <a href="http://subversion.tigris.org/" title="Subversion Version Control System">SVN</a> repository.  So here&#8217;s how I did things using my OpenSUSE 10.2 box.<span id="more-349"></span></p>
<p><script type="text/javascript" src="http://www.codedread.com/googleads.js"></script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<h3>A Caveat</h3>
<p>But first, a <strong>caveat</strong>:  I have yet to successfully delve in the code of Inkscape using OpenSUSE 10.2.  I was able to get the latest source, I ensured I have all the libraries installed (as per YaST), and I was able to successfully make and install the trunk source.  But upon running the trunk binary, it crashes.  At this time, I haven&#8217;t been able to learn how to debug this sufficiently (my gdb experience is very minimal).  So for now, I&#8217;m stuck doing some doc updates until I can spend more time on this and figure out which library dependency (presumably) is causing the problem.  So far, that&#8217;s my biggest contention with the Inkscape development project &#8211; too many dependencies on libraries.</p>
<p>As always, if someone has a clue how to help me out of this pickle, please comment or send me an email.  And yes, I&#8217;ve been to <a href="http://wiki.inkscape.org/wiki/index.php/CompilingSuse">this page</a>.</p>
<h3>Check Out the Inkscape Documentation</h3>
<p>First, make sure you check out the latest Inkscape documentation project trunk node.  Note that this is a different folder than the Inkscape application project as described <a href="http://wiki.inkscape.org/wiki/index.php/Working_with_SVN">here</a>.</p>
<p>For this step, you will need to have Subversion installed.  The easiest way to do this is through Yast > Software Management.</p>
<p>Next, create a folder for the Inkscape Documentation project and from that folder, execute the following command:</p>
<div class="code">$ svn co http://inkscape.svn.sourceforge.net/svnroot/inkscape/doc-docbook/trunk</div>
<h3>Get The Right Version Of Saxon</h3>
<p>The latest version of the <a href="http://saxon.sourceforge.net/">Saxon XSLT and XQuery Processor</a> is 8.9 (available through YaST), but for some reason Inkscape Documentation requires Saxon 6.5.3.</p>
<ul>
<li>Go to <a href="http://saxon.sourceforge.net/#F6.5.3">http://saxon.sourceforge.net/#F6.5.3</a> and download the Saxon 6.5.3 zip file.</li>
<li>Unzip the file somewhere.  Find the files saxon.jar and saxon-jdom.jar in the top level of this zip.</li>
<li>Copy these files to /usr/share/java/ but make sure you rename them so they don&#8217;t overwrite any existing Saxon jar files.  This will require you to be root:
<div class="code">
  # cp saxon.jar /usr/share/java/saxon-6.5.3.jar<br />
  # cp saxon-jdom.jar /usr/share/java/saxon-6.5.3-jdom.jar
</div>
</li>
</ul>
<p><script type="text/javascript" src="http://www.codedread.com/googleads.js"></script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<h3>Install Inkscape</h3>
<p>If you don&#8217;t have a working copy of Inkscape installed, then go to YaST > Software Management, find Inkscape and install it.  From the command-line you can find out where the inkscape binary is installed by typing:</p>
<div>$ which inkscape</div>
<p>Mine was installed at <i>/opt/gnome/bin/inkscape</i>.</p>
<h3>Build DocBook into SVG</h3>
<p>Now test out building the DocBook XML files files into SVG:</p>
<ul>
<li>Go to the top-level of the Inkscape Documentation Project repository that you checked out.  This is the folder with all the make-svg, make-html scripts in it.</li>
<li>Type the following command:
<div class="code">./make-svg basic /usr/share/java/saxon-6.5.3.jar /opt/gnome/bin/inkscape</div>
<p>NOTE: Substitute the location of the Inkscape binary for your own, if it differs</p>
</li>
</ul>
<p>This should create the basic/tutorial-basic.svg file.</p>
<h3>Fix A Bug In The Tutorials</h3>
<p>(Exercise left to reader.  Go look at basic/tutorial-basic.xml to get familiar with the DocBook format.  Find an easy bug on the <a href="http://sourceforge.net/tracker/?group_id=93438&#038;atid=604306">Bug Tracker</a>)</p>
<h3>Submit Your Patch</h3>
<p>Once you&#8217;ve made your updates, built the SVG, and verified that it looks good, you can make a patch and submit it to the Patch Tracker:</p>
<ul>
<li>Make a patch file (for this example, let&#8217;s assume you&#8217;ve updated basic/tutorial-basic.xml):
<div class="code">$ svn diff basic/tutorial-basic.xml > /tmp/my-patch-file.txt</div>
</li>
<li>Upload patch (<i>/tmp/my-patch-file.txt</i>) to the Inkscape <a href="http://sourceforge.net/tracker/?group_id=93438&#038;atid=604308">Patch Tracker</a></li>
<li>Inform the <a href="http://www.inkscape.org/mailing_lists.php?lang=en">inkscape-devel mailing list</a></li>
</ul>
<p><script type="text/javascript" src="http://www.codedread.com/googleads.js"></script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedread.com/blog/archives/2007/03/25/ink-on-my-fingers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVG Cartoons</title>
		<link>http://www.codedread.com/blog/archives/2005/07/28/svg-cartoons/</link>
		<comments>http://www.codedread.com/blog/archives/2005/07/28/svg-cartoons/#comments</comments>
		<pubDate>Thu, 28 Jul 2005 14:41:19 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Cartoons]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[inkscape]]></category>

		<guid isPermaLink="false">http://blog.codedread.com/?p=128</guid>
		<description><![CDATA[It&#8217;s interesting when two of my interests find a merging point. Here is one such example which talks about putting SVG cartoons onto mobile devices. The cartoons themselves are very basic with no audio or true storyline, but they serve as examples for how the technique can be accomplished. One might easily extend these concepts [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s interesting when two of my interests find a merging point.  <a href="http://www.svgopen.org/2004/papers/SVGTinyCartoonsOnJavaDevices/">Here</a> is one such example which talks about putting SVG cartoons onto mobile devices.  <span id="more-128"></span></p>
<div class="ads"><object type="text/html" width="468" height="60" data="http://www.codedread.com/gads.php"></object></div>
<p>The cartoons themselves are very basic with no audio or true storyline, but they serve as examples for how the technique can be accomplished.  One might easily extend these concepts to the web browser to provide more true-to-form cartoons (i.e. longer in length), but the key is getting good tool support for this.   I&#8217;d like to see <a href="http://www.inkscape.org/">Inkscape</a> supporting animations some time in the future, since animations are such a big part of SVG overall (and Inkscape seeks to be a SVG drawing program).  At present, Inkscape is only for static images, though it is vastly improved in its latest version (released earlier this week).</p>
<p>Flash cartoons have been around for a awhile on the web and also serve as a viable means to stream cartoons out to mobile devices.  Of course Flash is a proprietary standard, but it is much more mature.</p>
<p>Incidentally, the animations will not work in Firefox or Opera native implementations (Firefox does not support declarative animations.  I haven&#8217;t debugged why Opera is having a problem).  The TinyLine links in the above article use a Java applet to render the SVG but I&#8217;ve found that it is FAR too slow.  If you&#8217;re using IE+ASV you can view the &#8220;surprisep&#8221; cartoon as it is meant to be seen at <a href="http://www.tinyline.com/svgt/samples/samples/svg/surprisep.svgz">http://www.tinyline.com/svgt/samples/samples/svg/surprisep.svgz</a> (will  not work in Firefox or Opera without the Adobe plugin).</p>
<div class="ads"><object type="text/html" width="468" height="60" data="http://www.codedread.com/gads.php"></object></div>
<p><a href="http://www.w3.org/TR/SVG11/index.html">SVG 1.1</a> has a few particularities that make cartoons of any reasonable length problematic, most notably a lack of support for streaming media.  Without the ability to stream the media to a device, the entire cartoon needs to be downloaded first before viewing can begin.  However, it seems that <a href="http://www.w3.org/TR/SVGMobile12/">SVGT 1.2</a> addresses the streaming issue, so hopefully the W3C can fix the remaining problems with SVGT 1.2 in the VERY near future and get it out there.  Another notable exception is that without support for audio in SVG 1.1, you need another way to play and sync the audio track (or go silent like the above example).  SVG 1.2 contains the ability to embed media (audio or video).</p>
<p>In terms of SVG on mobile devices, Europe seems to be taking the lead because SVG was chosen by the <a href="http://www.3gpp.org/About/about.htm">3GPP</a> as the defacto vector graphics format that must be supported.  From <a href="">this article</a> it appears that &#8220;SVG Tiny 1.1 is required and SVG Basic 1.1 is optional&#8221;.  Thus, we&#8217;re seeing a large number of phones (50 at last count) that now support SVGT 1.1.  I&#8217;m not sure what the <a href="http://www.3gpp2.org/Public_html/Misc/AboutHome.cfm">3GPP2</a> are doing for North America and Asia, but I would hope they follow 3GPP&#8217;s lead.</p>
<p>Since 2005 seems to be the year that SVG starts to break out of its niche market in the desktop, it will be interesting to read some of the papers coming out of the <a href="http://www.svgopen.org/2005/">SVG Open</a> for 2005.  If the SVG Open 2006 ends up in Victoria, BC as <a href="http://www.understandingxml.com/#a000952">Kurt Cagle</a> wants, I just may try to attend next year&#8230;</p>
<div class="ads"><object type="text/html" width="468" height="60" data="http://www.codedread.com/gads.php"></object></div>
]]></content:encoded>
			<wfw:commentRss>http://www.codedread.com/blog/archives/2005/07/28/svg-cartoons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

