Skip to content

Increase quality of the image exporting from canvas #3292

@Pushpajekumar

Description

@Pushpajekumar

Description

  const snapshot = await canvasRef.current.makeImageSnapshot(undefined, 3);
  if (!snapshot) {
    Alert.alert('Error', 'Failed to take a snapshot. Please try again.');
    return;
  }

  const base64 = snapshot.encodeToBase64();
  const fileUri = FileSystem.cacheDirectory + `art_frame_${Date.now()}.png`;

i have an app artveda it is on the playstore where i am using react native canvas to merge image and text but when i am merging the image with text and other it and exporting it as image the quality of the image is very bad or we can say worse. I want original resolution and quality of the image did not getting i tried multiple ways and not working anything. please add this feature because other like fabric js is giving in web...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions