Skip to content

Cropped Image passing to other API - issues #75

@jyotigupta-leidos

Description

@jyotigupta-leidos

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions