Layers are composited in the order specified by the layer= command, where higher-numbered layers hide lower-numbered ones.
Layer 0 constitutes the background layer, which is always required and which defines the size of the composite image. Any of the layer types is permitted for layer 0. The size of layer 0 must be defined, either explicitly using size=
or implicitly, based on the content image or text. Any areas of other layers which fall outside the area of layer 0 are not included in the output image.