You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using canvas and loading a skia image has terrible aliasing.
Image with fit="none" doesn't show any pixelation issues, the image is high resolution.
Setting any other fit format creates horrible aliasing quality. Here is a 2x zoomed in picture :
This is with sampling={CubicSampling}, which is suppose to be best quality.
You can actually see this pixelated aliasing issue on the documentation picture as well : https://shopify.github.io/react-native-skia/docs/images
Is there a way to have a nice smooth picture in the canvas? Or is the only solution to make a copy, scale it down so it fits in the "none" fit format?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Using canvas and loading a skia image has terrible aliasing.
Image with fit="none" doesn't show any pixelation issues, the image is high resolution.

Setting any other fit format creates horrible aliasing quality. Here is a 2x zoomed in picture :

This is with sampling={CubicSampling}, which is suppose to be best quality.
You can actually see this pixelated aliasing issue on the documentation picture as well : https://shopify.github.io/react-native-skia/docs/images
Is there a way to have a nice smooth picture in the canvas? Or is the only solution to make a copy, scale it down so it fits in the "none" fit format?
Beta Was this translation helpful? Give feedback.
All reactions