You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
image: Add support for assigning from an internal color profile
This option is already supported in `--covert-to-color-profile`.
And it allows invoking the tool this way:
```
$ image --assign-color-profile sRGB -o buggie-srgb.jpg buggie.png
```
args_parser.add_option(options.assign_color_profile_path, "Load color profile from file and assign it to output image", "assign-color-profile", {}, "FILE");
335
+
args_parser.add_option(options.assign_color_profile_path, "Load color profile and assign it to output image", "assign-color-profile", {}, "(FILE | \"sRGB\")");
336
336
args_parser.add_option(options.convert_color_profile_path, "Load color profile and convert output image from current profile to loaded profile", "convert-to-color-profile", {}, "(FILE | \"sRGB\")");
337
337
args_parser.add_option(options.strip_color_profile, "Do not write color profile to output", "strip-color-profile", {});
0 commit comments