-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sampling issue with WebP #2507
Comments
@natuanorg I decided to expose a generic sampling option instead of just exposing the In the meantime you can use the imperative API to achieve your use-case via the Picture API for instance and then using the following: https://github.com/Shopify/react-native-skia/pull/2509/files#diff-cb1e83aa96ec697ad2b3321dee44b5c8828de866df1f2886a4d67e80f4bfd431R48 If you are willing to contribute to the project, that would also be an option. |
@wcandillon We have resolved the low image quality issue by using offscreen canvas to render and export images. Thank you for your support! |
🎉 This issue has been resolved in version 1.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Discussed in #2449
Originally posted by natuanorg May 28, 2024
We are currently using React Native Skia for image rendering in our application and have noticed that the image quality is significantly lower compared to when using the expo-Image library.
Here is a sample code snippet for rendering an image using React Native Skia and expo-image to illustrate the issue:
We are looking for guidance on how to improve image rendering quality using React Native Skia. Any insights, recommendations, or configurations that could help us achieve better quality would be greatly appreciated.
Thank you for your attention to this matter. We look forward to your support and suggestions.
The text was updated successfully, but these errors were encountered: