Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cropped Image passing to other API - issues #75

Open
jyotigupta-leidos opened this issue Oct 13, 2020 · 0 comments
Open

Cropped Image passing to other API - issues #75

jyotigupta-leidos opened this issue Oct 13, 2020 · 0 comments

Comments

@jyotigupta-leidos
Copy link

I need to use the cropped image for another functionality like- need to pass to Google API for OCR purpose and I am using this code -

this.croppedImage = frameModule.topmost().getViewById("croppedImage");
this.croppedImage.imageSourceModule = args.image;

And I pass this.croppedImage.imageSourceModule to Google API.

and use this.croppedImage for the further purpose but I always see this.croppedImage as undefined. I have the id in HTML too like the below -

<Image *ngIf="myImage" horizontalAlignment="center" src="{{croppedImage}}" width="700" height="600" id="croppedImage">

Please let me know what wrong I am doing?

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

No branches or pull requests

1 participant