On Sunday 09 August 2009, Martin Renold wrote:
> New pixel formats:
>
> As it is now, we need to use different attributes to save the "legacy" and
> the new file format side-by-side in a compatible way.  For example:
>
> <layer src="data/layer001.png" src_16bit="data/layer001_16bit.png"/>
> and also for fallbacks:
> <cache src="caches/checkerboard.png" src_float='caches/checkerboard.dat'/>
>
> Essentially, the specification needs to be updated to state that src=...
> attributes can only point to 8bpc PNG images, and all other formats need
> other attributes. Ugly? Acceptable? Alternatives?
I think it would work with fallback
<layer src="data/layer001_16bit.png">
  <fallback src="data/layer001.png" />
</layer>

> Layer modes:
>
> Would a compositing mode other than OVER be implemented as an <effect> in
> OpenRaster?  Or would the mode be part of the <layer> tag, which then can
> also have a fallback?  If so, can a <stack> tag also have a compositing
> mode?
I am more for the <layer> tag. And defaulting to OVER.

> Filter/Renderer variants:
>
> Implementation might like to have a way to decide whether they can render
> something without fallback.  This can be solved with version=...
> attributes.

I don't follow you, you mean different version of the filter ?

-- 
Cyrille Berger
_______________________________________________
CREATE mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/create

Reply via email to