Flatten Layers

This command merges all the layers to form a single layer. Invisible layers are deleted in the process and any transparent areas in the flattened layer are filled with white.