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

Scale doesn't work #32

Closed
DennisTheMenace opened this issue Aug 15, 2011 · 2 comments
Closed

Scale doesn't work #32

DennisTheMenace opened this issue Aug 15, 2011 · 2 comments

Comments

@DennisTheMenace
Copy link

In my ruby code I'm just using this
"
require 'RMagick'

clown = Magick::Image.read("clown.jpg").first
clown.scale(125,125)
clown.write('crop_resized.jpg')
"

But the outputted image is the same size.

Help me!

Regards Joshua

@mattneub
Copy link

Surely you mean clown = clown.scale(125,125). If you don't capture the scaled output, you're just throwing it away.

@DennisTheMenace
Copy link
Author

I'm an idiot!

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

No branches or pull requests

2 participants