The compositing canvas
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 will not be included in the output image.
After all layers are flattened, the composite image is converted to the final response image, as specified with the view commands and attributes .