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

Fix "imresize does not work with size = int" #3357

Merged
merged 1 commit into from
Feb 23, 2014

Conversation

nh2
Copy link
Contributor

@nh2 nh2 commented Feb 19, 2014

Solution from http://mail.scipy.org/pipermail/scipy-dev/2010-July/015132.html

Also adds test_imresize4.

@pv pv added PR and removed scipy.ndimage labels Feb 19, 2014
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 855ff1f on nh2:fix-imresize-int into 32cd96d on scipy:master.

@rgommers rgommers added this to the 0.14.0 milestone Feb 23, 2014
rgommers added a commit that referenced this pull request Feb 23, 2014
Fix "imresize does not work with size = int"
@rgommers rgommers merged commit 13c7898 into scipy:master Feb 23, 2014
@rgommers
Copy link
Member

Thanks @nh2, looks good.

@rgommers
Copy link
Member

The result is kind of odd (resizing is not symmetric with respect to the image), but that's a PIL issue not a scipy one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants