[CREATE] OpenRaster proposal: save layer edit-locking status
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/>:
> <layer name="sketch" x="0" y="0" src="data/layer001.png"
> <layer name="colours" x="-512" y="-128" src="data/layer002.png"/>
> A fuller proposal page is up at
> . 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.
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl
More information about the CREATE