angularjs-imageupload-directive icon indicating copy to clipboard operation
angularjs-imageupload-directive copied to clipboard

dataURL type

Open miguelowsky-js opened this issue 10 years ago • 0 comments

This is an awesome plugin, but I found that the 'type' variable maybe is wrong, in the line 26 is this code: var type = options.resizeType || 'image/jpg'; and I think it should be: var type = options.resizeType || 'image/jpeg'; The image/jpg type returns a png data type, and with the image/jpeg string, it returns a jpeg data type and is faster than the other way.

BTW thanks a lot.

miguelowsky-js avatar Jul 05 '15 20:07 miguelowsky-js