Why Transparent Images Look Poor Quality in Flutter?

放肆的年华 提交于 2020-01-06 06:34:30

问题


I have png images that have drop shadow. There is no unproportional images scaling problem, scaling are according to the aspect ratio.

When I using Image.asset() for placing images on phone screen, they're and their shadows looks low quality and not soft.

Original image looks: http://prnt.sc/p93vo2

Image on Android App: https://prnt.sc/p93vz3

Example images are same and 700x400, 96dpi. You should see quality difference between images. There is also a strange stuation. The shadow density on right and bottom side is more than shadow of original image on android app.

I've tried FilterQuality.high but no change, how to fix it?

来源:https://stackoverflow.com/questions/58041586/why-transparent-images-look-poor-quality-in-flutter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!