Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Get main image not from input field #32

Open
romangusiev opened this issue May 11, 2016 · 2 comments
Open

Get main image not from input field #32

romangusiev opened this issue May 11, 2016 · 2 comments

Comments

@romangusiev
Copy link

Hey, iI'm trying to crop image but not picking it up from input field, but getting it from base64 string.
So I'm doing like this - $scope.dataUrl = newDataURL; - and it starts showing up the image. But when I try to get cropped image - it does not work, because calling Cropper.crop($scope.cropperFile, $scope.cropperData).then(Cropper.encode) means that I have to have file picked in input. But it comes from my base64 string, not from input.
How can I set image from string and get cropped image then....

@pidupuis
Copy link

I need it too

@caoruonan
Copy link

I need it too,help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants