Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(preserveAspectRatio): added option to preserve aspect ratio
When set to true and both width and height are specified, they are interpreted as the minimum width and minimum height, respectively. If set to true with only the width specified, the height will be automatically determined while preserving the aspect ratio, and vice versa. fixes #88, #189
- Loading branch information