Skip to content

update resize with cropping custom options : customArgs #11

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

Merged
merged 1 commit into from
Jan 1, 2013
Merged

update resize with cropping custom options : customArgs #11

merged 1 commit into from
Jan 1, 2013

Conversation

soomtong
Copy link
Contributor

@soomtong soomtong commented Jan 1, 2013

hi. I am again, happy new year :)
add imagemagick options to use image resize with cropping
refer http://www.jeff.wilcox.name/2011/10/node-express-imagemagick-square-resizing/

always thank you for this very cool killing module!

update resize with cropping custom options : customArgs
ex)
thumbnail:{
    width:80,
    height:"80^",
    customArgs: [
        "-gravity", "center",
        "-extent", "80x80"
    ]
}
aguidrevitch added a commit that referenced this pull request Jan 1, 2013
update resize with cropping custom options : customArgs
@aguidrevitch aguidrevitch merged commit 2faadb8 into aguidrevitch:master Jan 1, 2013
@aguidrevitch
Copy link
Owner

merged in, however, I've renamed customArgs to imageArgs to be more user-friendly, released as 0.0.8. Thank you for your assistance !

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