# An example using WlzExplode explode a 3D object into a series of
# 2D object files. If lobster.wlz has plane coordinates from 7 to 36
# then 30 output files will be created with file names:
# lobsterPlane000007.wlz, ..., lobsterPlane000036.wlz
WlzExplode -b lobsterPlane lobster.wlz
# A simple example in which a 3D object is read from the standard input
# exploded and the 2D objects concatonated to the standard output.
WlzExplode <infile3D.wlz >outfile2D.wlz
# WlzExplode can decompose Woolz colour objects into their red, green, blue
# and alpha components. In the following example, in which the the colour
# components of object toucan.wlz are exploded with toucan000000.wlz the
# red component, toucan000001.wlz the green, toucan000002.wlz the blue
# and toucan000003.wlz the alpha component.
WlzExplode -b toucan -c toucan.wlz