Is width/height ratio respected for cropping?
thatguyjono94 opened this issue · comments
jonoG commented
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?
Chintan Vadhadiya commented
smartcrop.crop(image, {aspect: 1 }).then(function(result){ console.log(result); });