Jump to content

Worse visual results with Texture.from(canvas) than Texture.from(canvas.toDataUrl())


CityLights
 Share

Recommended Posts

Hi, I'm facing a bizarre issue. When downscaling a Texture created from a canvas I am getting inferior visual results than the same downscaled texture generated from a base64 string of the same canvas.

left: Texture.from(canvas)
right: Texture.from(canvas.toDataURL())

Z9FLll1.png

Look closely at the fur above the nose to observe differences.

Reproduction:
https://www.pixiplayground.com/#/edit/_MNcHGFd6RyqGARf2pQK3

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...