Skip to content

Is width/height ratio respected for cropping? #124

Description

@jonog94

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions