<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;">On Tuesday 16 June 2009, Calle Laakkonen wrote:<br>
&gt; Hello.<br>
&gt; I am the developer of DrawPile, which is an online collaborative drawing<br>
&gt; program. I just added a simple implementation of OpenRaster as DrawPile's<br>
&gt; default format. It appears to be compatible with MyPaint, but I haven't<br>
&gt; tried it with Krita yet.<br>
&gt; There are a few ambiguities in the specification I'd like to confirm,<br>
&gt; however.<br>
&gt;<br>
&gt; First, layers and nested layer stacks have coordinates which default to 0.<br>
&gt; I assume these are relative to the parent element? For example if a have a<br>
&gt; layer stack like this:<br>
&gt; &lt;stack&gt;<br>
&gt;         &lt;stack x="10" y="10"&gt;<br>
&gt;                 &lt;layer x="-5" y="0"/&gt;<br>
&gt;         &lt;/stack&gt;<br>
&gt; &lt;/stack&gt;<br>
&gt; In this case, is (5, 10) the real position of the layer or are all<br>
&gt; coordinates absolute?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Currently Krita saves using global coordinate. I think they are arguments against/in favor of each, but in my opinion, the one in favor of global outweight the local one, I think it's much much easier to work with only one global frame than with frame a frame per group.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>&gt; Third, what is the range of the opacity property? I assume it is 0.0 to<br>
&gt; 1.0, but this isn't specified anywhere in the OpenRaster docs. It would<br>
&gt; also be nice to have an attribute to mark a layer as hidden independant of<br>
&gt; its opacity.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>We should probably mention that the default range of all value is 0.0-1.0 (unless the spec says that a given parameter is an exception).<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>&gt; Finally, what's the status of the text element currently? DrawPile has<br>
&gt; annotations, which are pretty much equivalent to text layers in other<br>
&gt; programs (except that DP annotations always float on top of the image), so<br>
&gt; naturally I'd like to be able to save those as well.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>There is currently nothing defined. But I am thinking that the choice is:<br>
* the &lt;text&gt; element of ODF<br>
* or since we plan to allow to have SVG layers, if the svg text element is sufficient for openraster need, it could be possible to save text as a SVG layer<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>-- <br>
Cyrille Berger</p></body></html>