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
For an image containing text, which is 844x394 this result in an image which is very pixelated. It seems to work fine on android.
It also seems like this package resizes the original image, and I've some doubts about the resizing algo used as I've seen this problem in multiple packages, like assets generator or even the Image package. In case the image package is used to resize, the interpolation can be set to the one which adds a slight blur for better results. I believe it's the average one but I can't recall for certain.
Describe the bug
For an image containing text, which is 844x394 this result in an image which is very pixelated. It seems to work fine on android.
It also seems like this package resizes the original image, and I've some doubts about the resizing algo used as I've seen this problem in multiple packages, like assets generator or even the Image package. In case the image package is used to resize, the interpolation can be set to the one which adds a slight blur for better results. I believe it's the average one but I can't recall for certain.
Edit: yeah
flutter_native_splash/lib/web.dart
Line 162 in 2f6e090
Also some direction about what ratio yields better results with this algo would be nice
Configuration
web
The text was updated successfully, but these errors were encountered: