CrackerakiUA / ngImgCropFullExtended

Image Crop directive for AngularJS

Home Page:http://crackerakiua.github.io/ngImgCropFullExtended/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

result-image-quality is not reducing my image size

bmwertman opened this issue · comments

I had originally been using ngImgCrop the non-full extended version. I moved to ngImgCropFullExtended because I needed some of the other features.

With ngImgCrop I was setting result-image-quality=0.6 in my template along with result-image-format="image/jpeg" and getting my cropped image size down to around 5-7KB.

After moving to ngImgCropFullExtended using the same settings I'm at 50-60KB.

Nothing else changed but the lib.

Interesting. I will do tests.

Thanks let me know what you find or if you need some more info.

Have you had a chance to look into this?

I can confirm a similar issue. Not only can't I reduce the image size with the result-image-quality property, my final Image size is actually much bigger (900kb) than the initial image I upload (100kb).

Any help would be greatly appreciated.

I updated to the ui-cropper and it worked. But i needed to pass it as a string:

result-image-format="'image/jpeg'"

ui-cropper: https://github.com/CrackerakiUA/ui-cropper

This repo is dead.
Please move to the other project:
https://github.com/CrackerakiUA/ui-cropper