Skip to content

Why was base64 chosen instead of opening from filepath? #14

Open
@Tex2wo

Description

@Tex2wo

Hi, I'm new to openCV and java so just trying to understand react bridge a bit more, I noticed that you commented out:

Bitmap image = decodeSampledBitmapFromFile(imageurl, 2000, 2000);

And replaced it with the base64 from the react native camera. Is there a reason why base64 was used across the bridge instead of just sending the path name through the bridge? Is this faster? If I was going to send an image back to react native - do you suggest sending base64 back or how?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions