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