[CREATE] OpenRaster proposal: save layer edit-locking status

Boudewijn Rempt boud at valdyas.org
Sun Mar 25 02:49:55 PDT 2012


On Saturday 24 March 2012 Mar, Andrew Chadwick wrote:
> MyPaint at least supports a concept of layers which are locked to
> prevent accidental editing (whatever that means). This should be saved
> in a way which allows other editors to support the same concept (if it's
> implemented). Let's do this with an extra attribute on <layer/>:
> 
>   <stack>
>     <layer name="sketch" x="0" y="0" src="data/layer001.png"
>            edit-locked="edit-locked"/>
>     <layer name="colours" x="-512" y="-128" src="data/layer002.png"/>
>   </stack>
> 
> A fuller proposal page is up at
> http://www.freedesktop.org/wiki/Specifications/OpenRaster/Draft/LayerEditLockingStatus
> . Comments welcome! (Reply-To: set; please use the CREATE list for feedback)
> 
> Obviously this can mean slightly different things to different editors,
> even if we all agree that "edit-locked" means users shouldn't be able to
> draw to a layer until they unlock it. Some editors might forbid deleting
> it too, for example. That's fine though; different apps should be able
> to fill in the detail with their own implementation. Also, feel free to
> just ignore this if your app's nearest concept is radically different on
> closer inspection :D
> 
> 

I guess it would work fine for Krita. In Krita's native file format we just use "locked=true", but our file format doesn't have any kind of real specficiation atm :-).

We can easily support your proposial in ora files.

-- 
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl


More information about the CREATE mailing list