oferh / ng2-completer

Angular 2 autocomplete component
http://oferh.github.io/ng2-completer/
MIT License
348 stars 173 forks source link

How to control the size and proportion of the crop area #400

Closed templth closed 6 years ago

templth commented 6 years ago

Hello,

I try to control the size and proportion of the crop area. I want it to be a square or a rectangle but with a ratio between width and height. I tried to use the properties height, width, croppedHeight and croppedWidth but without success at the level of the configuration.

Could you give some hints about the way to implement this approach? Thanks!