command-options ( -- value )


Vocabulary
tools.image.compressor.private

Inputs
None

Outputs
valuean object


Definition


CONSTANT: command-options
{
T{ option
{ name "-F" }
{ help
"force compress uncompressable image\nWARNING: experts only! Us..."
}
{ variable force-compression }
{ const t }
}
T{ option
{ name "-c" }
{ type integer }
{ help
"set the compression level between 1 and 22"
}
{ variable compression-level }
{ default 12 }
{ convert [ dec> ] }
{ validate [ 1 22 between? ] }
{ #args 1 }
}
T{ option
{ name "input" }
{ help
"the input factor image path (default: image-path)"
}
{ #args "?" }
}
T{ option
{ name "output" }
{ help
"the output factor image path (default: input)"
}
{ #args "?" }
}
} inline