<!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 Sunday 09 August 2009, Martin Renold wrote:<br>
&gt; New pixel formats:<br>
&gt;<br>
&gt; As it is now, we need to use different attributes to save the "legacy" and<br>
&gt; the new file format side-by-side in a compatible way.  For example:<br>
&gt;<br>
&gt; &lt;layer src="data/layer001.png" src_16bit="data/layer001_16bit.png"/&gt;<br>
&gt; and also for fallbacks:<br>
&gt; &lt;cache src="caches/checkerboard.png" src_float='caches/checkerboard.dat'/&gt;<br>
&gt;<br>
&gt; Essentially, the specification needs to be updated to state that src=...<br>
&gt; attributes can only point to 8bpc PNG images, and all other formats need<br>
&gt; other attributes. Ugly? Acceptable? Alternatives?<br>
I think it would work with fallback<br>
&lt;layer src="data/layer001_16bit.png"&gt;<br>
  &lt;fallback src="data/layer001.png" /&gt;<br>
&lt;/layer&gt;<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; Layer modes:<br>
&gt;<br>
&gt; Would a compositing mode other than OVER be implemented as an &lt;effect&gt; in<br>
&gt; OpenRaster?  Or would the mode be part of the &lt;layer&gt; tag, which then can<br>
&gt; also have a fallback?  If so, can a &lt;stack&gt; tag also have a compositing<br>
&gt; mode?<br>
I am more for the &lt;layer&gt; tag. And defaulting to OVER.<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; Filter/Renderer variants:<br>
&gt;<br>
&gt; Implementation might like to have a way to decide whether they can render<br>
&gt; something without fallback.  This can be solved with version=...<br>
&gt; attributes.<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>I don't follow you, you mean different version of the filter ?<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>