<!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>
> Hello.<br>
> I am the developer of DrawPile, which is an online collaborative drawing<br>
> program. I just added a simple implementation of OpenRaster as DrawPile's<br>
> default format. It appears to be compatible with MyPaint, but I haven't<br>
> tried it with Krita yet.<br>
> There are a few ambiguities in the specification I'd like to confirm,<br>
> however.<br>
><br>
> First, layers and nested layer stacks have coordinates which default to 0.<br>
> I assume these are relative to the parent element? For example if a have a<br>
> layer stack like this:<br>
> <stack><br>
>         <stack x="10" y="10"><br>
>                 <layer x="-5" y="0"/><br>
>         </stack><br>
> </stack><br>
> In this case, is (5, 10) the real position of the layer or are all<br>
> 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>> Third, what is the range of the opacity property? I assume it is 0.0 to<br>
> 1.0, but this isn't specified anywhere in the OpenRaster docs. It would<br>
> also be nice to have an attribute to mark a layer as hidden independant of<br>
> 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>> Finally, what's the status of the text element currently? DrawPile has<br>
> annotations, which are pretty much equivalent to text layers in other<br>
> programs (except that DP annotations always float on top of the image), so<br>
> 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 <text> 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>