Skip to content
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

rendering: add bounded size hint #30

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Conversation

marler8997
Copy link
Contributor

Provides a new size-hint mechanism for rendering, bounded. A bounded size hint specifies a limit for both width and height and then renders the maximum size that fits within these limits while also maintaining the aspect ratio.

This option is exposed in tvg-render via the:

--bounded <width>x<height>

command line option.

Provides a new size-hint mechanism for rendering, `bounded`.  A bounded
size hint specifies a limit for both width and height and then renders the
maximum size that fits within these limits while also maintaining the
aspect ratio.

This option is exposed in `tvg-render` via the:

    --bounded <width>x<height>

command line option.
@ikskuh ikskuh merged commit d771f6d into TinyVG:main Jul 30, 2024
3 checks passed
@ikskuh
Copy link

ikskuh commented Jul 30, 2024

Nice, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants