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
* feat: add option for background color
This allows to define the background color used for border when resize mode is set to "keep".
Closes#52
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
help="Set the resize (i.e., transformation) mode to be used when rescaling video.",
726
728
show_default=True,
727
729
)
730
+
@click.option(
731
+
"--background-color",
732
+
"--bgcolor",
733
+
"background_color",
734
+
metavar="COLOR",
735
+
type=str,
736
+
default="black",
737
+
help='Set the background color for borders when using "keep" resize mode. Can be any valid CSS color, e.g., "green", "#FF6500" or "rgba(255, 255, 0, .5)".',
0 commit comments