Croppie: Add the ability to set the viewport's minSize

Created on 20 Feb 2019  路  4Comments  路  Source: Foliotek/Croppie

https://github.com/Foliotek/Croppie/blob/680db73a21c43fbaef26bd3d4fbb2dbdb63c2341/croppie.js#L468

I would like to be able to set the viewport's minSize as i can't set images smaller than 50x50 pixels.

Most helpful comment

I'm open to PR's for this.

All 4 comments

Up!

I'm open to PR's for this.

when you got the image data, you can create a canvas and put the image into canvas, then you can got any size what you want.

@xty1992a

I want to do it with the library, not manipulating the image AFTER i've cropped it.

If I needed to insert into a canvas and crop a a image every time I wanted an image smaller than 50x50, what is the point of using the lib?

Check the PR I made

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicolacardi picture nicolacardi  路  4Comments

carloscba picture carloscba  路  3Comments

wyzard picture wyzard  路  3Comments

oystehei picture oystehei  路  6Comments

stdCh picture stdCh  路  8Comments