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

Andrew Chadwick a.t.chadwick at gmail.com
Sat Mar 24 12:44:38 PDT 2012

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

Andrew Chadwick

More information about the CREATE mailing list