We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I always want the topCrop width and height to be a perfect square?
topCrop
smartcrop.crop(image, {width: 100, height: 100}).then(function(result){ console.log(result); });
I understand that the output width/height may not always be the preferred crop size, but will it be a perfect square as suggested by the input?
The text was updated successfully, but these errors were encountered:
smartcrop.crop(image, {aspect: 1 }).then(function(result){ console.log(result); });
Sorry, something went wrong.
No branches or pull requests
I always want the
topCrop
width and height to be a perfect square?smartcrop.crop(image, {width: 100, height: 100}).then(function(result){ console.log(result); });
I understand that the output width/height may not always be the preferred crop size, but will it be a perfect square as suggested by the input?
The text was updated successfully, but these errors were encountered: