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

Allowing enlargement when generating padded images. #63

Merged
merged 1 commit into from
Aug 4, 2015
Merged

Allowing enlargement when generating padded images. #63

merged 1 commit into from
Aug 4, 2015

Conversation

ernestopye
Copy link
Contributor

I've been running into an issue with padded images. Basically, if either the requested width/height of the padded image is greater than the original dimensions, the original image is returned. This is problematic with things such as fairly small tall/wide images. The root of the problem seems to be on sharp's end, but I think this is a reasonable fix while the discussion on that repo is going on: lovell/sharp#243

@jimmynicol
Copy link
Owner

Looks good!

jimmynicol added a commit that referenced this pull request Aug 4, 2015
Allowing enlargement when generating padded images.
@jimmynicol jimmynicol merged commit e5e5167 into jimmynicol:master Aug 4, 2015
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