Hi all,

reading through some discussion which steps on "default alpha for layers?" and
"erase to alpha or to white?" questions, there's one solution i haven't seen 

assign a background color to GIMP images. Not a layer, just a single color.
This way, the eraser can always work on alpha, and all layers consistently can
have an alpha channel.

This also sanitizes Export a bit, the canonical example being PNG export:
"flatten image or merge visible layers?" really asks wether to fill
transparency with a background color. Now this color is a property of the image,
so the question has been answered already.

Import is also hassle-free: if the file format supports transparency,
the bg color is transparent, otherwise GIMP's default bg color.
So a cycle of export and re-import doesn't change the image.

I tried to attach a trivial mockup of the layer dialog, reserving half a layer 
for the background color, but i'm shure it won't hurt if this got lost in 
transmission ;)


*) http://bugzilla.gnome.org/show_bug.cgi?id=569330

<<inline: bgcolor.gif>>

Gimp-developer mailing list

Reply via email to