Skip to content

Commit

Permalink
toDateUrl
Browse files Browse the repository at this point in the history
JPEG 若不設定 'image/jpeg',圖片Size會被乘2倍
  • Loading branch information
ChangYinShung committed May 3, 2017
1 parent 5cb9a2c commit 162c97e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,18 @@ Bootstrap 3 Customlized Template
width=""
height=""
result-img=""
quility=""
imgType=""
is-done=""
ctrl="">
```
`type`:bootstrap3,angularMaterial
`width、height` :長寬(number) width:0,height:0 不固定長寬
`result-img` : 上傳存檔圖片(base64)  
`is-done`:判斷是否有編輯按鈕
`ctrl`: Controller
`quility`:圖片品質 0-1,預設值:1
`img-type`:'jpeg' or 'png',預設值:jpeg
`ctrl`: Controller  
Read [Demo code](http://github.com/koorgoo/ngCropper/tree/master/demo) for detailed example.


Expand Down

0 comments on commit 162c97e

Please sign in to comment.