Skip to content

Commit aa7dc4e

Browse files
committed
doc: document oiiotool --layersplit command
Signed-off-by: Loïc Vital <[email protected]>
1 parent ff4a149 commit aa7dc4e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/doc/oiiotool.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2193,6 +2193,18 @@ current top image.
21932193
image comprised of the subimages of all original images appended
21942194
together.
21952195

2196+
.. option:: --layersplit
2197+
2198+
Remove the top image from the stack, split it into a separate image for
2199+
each of its constituent channel-name-based layers, and push them all
2200+
onto the stack (first to last).
2201+
2202+
By "layer" we mean a subset of the initial channels which, when named
2203+
using the convention "LAYERNAME.channelname", all share the same layer
2204+
name. Channels that do not contain a dot in their name are considered
2205+
to be part of an anonymous layer, and thus are all gathered into a
2206+
single image (the first one pushed on the stack).
2207+
21962208
.. option:: --ch <channellist>
21972209

21982210
Replaces the top image with a new image whose channels have been

0 commit comments

Comments
 (0)