ng-file-upload icon indicating copy to clipboard operation
ng-file-upload copied to clipboard

use nfg-resize, The picture is distorted

Open Dream-wu opened this issue 5 years ago • 3 comments

use ngf-resize="{quality: .8}"

and then this picture is distored,who can tell me why?

Dream-wu avatar Sep 18 '19 01:09 Dream-wu

Same here

wdarking avatar Oct 04 '19 18:10 wdarking

I've tested this issue a little. It seems to happen only when I upload from my iphone, with large vertical images. They're being squashed into a horizonal format. We're using only ngf-resize="{quality: 0.6}".

ricrempel avatar Oct 04 '19 18:10 ricrempel

In my case it was a matter of setting ngf-fix-orientation="true". That solved it.

ricrempel avatar Oct 18 '19 18:10 ricrempel