Skip to content

Conversation

@writer-in-fancy-pants
Copy link

I am not sure what the rules are regarding merging features. I needed a straightforward way to set width / height of the scaled image, without losing the aspect ratio, so I added the following two functions

  • imageScaleDownByWidth
  • imageScaleDownByHeight

I am using both. If you find them relevant, kindly accept and merge the PR. Let me know if there should be any changes.
Cheers

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.

1 participant