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

add max/min width/height for images #938

Merged
merged 4 commits into from
Apr 6, 2017
Merged

Conversation

ardean
Copy link
Contributor

@ardean ardean commented Apr 3, 2017

adds max/min width/height for #14
please let me know if there is something to change

@liborm85
Copy link
Collaborator

liborm85 commented Apr 4, 2017

Please revert changes in build folder.

@ardean
Copy link
Contributor Author

ardean commented Apr 4, 2017

build files are now reverted. Can you create a build/release for npm so I can use this new feature right away?

Thank you for your support!

@liborm85 liborm85 merged commit 4125639 into bpampuch:master Apr 6, 2017
@liborm85
Copy link
Collaborator

liborm85 commented Apr 6, 2017

Merged. Thanks.
Next release will be probably sometime this month.

@liborm85 liborm85 mentioned this pull request Apr 6, 2017
ardean added a commit to ardean/pdfmake that referenced this pull request Apr 7, 2017
Merge pull request bpampuch#938 from ardean/master
baltpeter added a commit to datenanfragen/letter-generator that referenced this pull request Nov 17, 2022
The problem of the huge signature was caused by #3. Removing the fixed
`width` from the signature caused the image to scale to the page width
(even though the docs say this should mean the image's original size
*shrug*).

Instead, we now set a `maxWidth`, which solves both problems. I haven't
actually found any documentation for this feature but it was implemented
in bpampuch/pdfmake#938.
zner0L pushed a commit to datenanfragen/letter-generator that referenced this pull request Dec 5, 2022
The problem of the huge signature was caused by #3. Removing the fixed
`width` from the signature caused the image to scale to the page width
(even though the docs say this should mean the image's original size
*shrug*).

Instead, we now set a `maxWidth`, which solves both problems. I haven't
actually found any documentation for this feature but it was implemented
in bpampuch/pdfmake#938.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants