cstefanache / angular2-img-cropper

Angular 2 Image Cropper
MIT License
364 stars 135 forks source link

fileType not working #163

Closed luisbobadilla closed 7 years ago

luisbobadilla commented 7 years ago

im working on angular 2, this is my cropersettings: this.cropperSettings = new CropperSettings(); this.cropperSettings.noFileInput = true; this.cropperSettings.croppedWidth = 512; this.cropperSettings.croppedHeight = 512; this.cropperSettings.minHeight = 50; this.cropperSettings.cropperDrawSettings.strokeColor = 'rgba(255,255,255,1)'; this.cropperSettings.cropperDrawSettings.strokeWidth = 2; this.cropperSettings.dynamicSizing = true; this.cropperSettings.cropperClass = "cropper"; this.cropperSettings.croppingClass= "cropping"; this.cropperSettings.rounded = false; this.cropperSettings.fileType='image/png'

my exit file type is the same that the input