Skip to content

how to reduce the base64 size returned by canvas.toDataURL() #193

@chj-damon

Description

@chj-damon

I use react-native-canvas to transform an image to base64, the original size is about 32kb, but after the base64 is generated, the size increased to 580kb, which is unbelievable huge.

I'm wondering if there is any solution to reduce the size.

the canvas API of web is different from react-native-canvas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions