Make resizing actually resize to the given dimensions
Open
@madhums is already working on this.
Since Sep 17, 2014.
bug
- Dominant language
- JavaScript
- Stars
- 267
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
By default, using gm to resize will resize to what it deems the best constraint proportionally sized image (unless you pass in `"!"` as the third argument for `resize()`). It should still resize the images, but with the size that was passed in. Not sure if this is a node-gm thing in itself, but I spent some time trying to figure it out and it seems the only way to fix it is to force a crop, or use the third param (which won't resize it proportionally).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.