# ChunkMatcher

Performs operations on chunk files.

### Synopsis

`chunkmatcher [-v] [-of <filename>] -op <operation> -if <filename> -od <directoryname>`

### Description

This command applies the specified operation to the specified input chunk file.

### Arguments

-op <operation>
  Specifies the operation to be performed against the input chunk file. Available operations are the following:

extract Extract cels from an ANIM or SANM input chunk file and write a cel into an individual chunk file in the specified output directory. Anti-aliased frames, consisting of a edge cel and a foreground cel, are written as two separate output files. Extract may also be performed against SCEL files, in which case each output file will contain a single SCEL cel-list chunk.

extract_groups Same as the extract operation, except anti-aliased cels are written as a single output file in the same format as a file written by the anti-aliased cel-writer Photoshop plug-in.

stream_info Analyze a stream chunk file to determine the percent of filler versus data. This operation does not require the specification of an output directory.

-if <filename>
  Specifies the input chunk file.

-od <directoryname>
  Specifies the directory into which all of the output files will be written.

-v
  Specifies verbose printing of progress information.

-of <filename>
  Specifies an output file. This option is unused since none of the current operation modules require a separate output file.