We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the following:
auto dither = ( command("dither").set(run_mode, mode::dither), option("--palette") & value("palette", palette), option("--hicolor").set(hicolor, true), option("--error-diffusion").set(error_diffusion, true), value("image").set(in) );
Help string looks OK:
tool dither [--palette <palette>] [--hicolor] [--error-diffusion] <image>
However nothing gets accepted; I tried all the following:
tool dither tool dither image.jpeg tool dither --palette x image.jpeg tool dither image.jpeg --palette x
What does work:
--palette
value("image")
option
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using the following:
Help string looks OK:
However nothing gets accepted; I tried all the following:
What does work:
--palette
optionvalue("image")
part before theoption
parts; but I want to be able to specify options before the final argument in the commandlineThe text was updated successfully, but these errors were encountered: