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

Image stretch for maxwidth/maxheight #321

pgundlach opened this issue Mar 8, 2021 · 0 comments

Image stretch for maxwidth/maxheight #321

pgundlach opened this issue Mar 8, 2021 · 0 comments


Copy link

The image should grow if the "natural width" or "natural height" of an image is smaller than maxwidth or max height:

<Layout xmlns=""
    <Trace grid="yes"/>
    <Record element="data">
            <Image file="cow.pdf" maxwidth="15cm" maxheight="15cm"></Image>

The file cow.pdf is approx. 10cm x 7cm, it should (with a switch) grow to 15 * 11 or so.

@pgundlach pgundlach self-assigned this Mar 8, 2021
pgundlach added a commit that referenced this issue Mar 9, 2021
This implements #321
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant