-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
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
ipptransform: Add a way ("--list-defaults" option?) to report the default values used for unspecified options #107
Comments
Hmm, I wonder if logging which values are getting used as debug messages to stderr would be sufficient? I dislike another option just because it means doing the same work twice... |
Could you add this info to the --help output? |
The
|
How it gets done is less important to me than that it is possible for ipptransform to list its defaults somehow. I shouldn't have been so prescriptive with how this would be done. I'll change the title and description (if I can) to reflect this. |
Is your feature request related to a problem? Please describe.
A user has no way of knowing what default values ipptransform will use unless they use it and inspect the output. One would assume, for instance, that if the input document uses US Letter, the output will also use US Letter, but that isn't currently the case, as is described in Issue #102. So having a way for ipptransform to report its defaults would be helpful.
Describe the solution you'd like
Add a new option like "--list-defaults" (you pick the name - what its called isn't important). or perhaps extend an existing option like "--help", that will output the default values used for all the named options supplied with the "-o" option, and also the "-r" (Resolution), "-s" (backside coordinate system), and "-t" (output color space and bit depth). One would use it like so:
$ ipptransform --list-defaults
If these can vary based on output format, then being able to specify an output format as well could be useful. Something like:
$ ipptransform --list-defaults -m image/pwg-raster
Describe alternatives you've considered
The only alternative is to just try it and see if you can tell what ipptransform is doing.
Additional context
n/a
The text was updated successfully, but these errors were encountered: