全景背景图像模糊
我的应用程序中有一张全景图像,当它加载到手机上时,它很模糊。这就像当您远程桌面到另一台计算机时,您的颜色设置已经降低了。渐变由 6 种颜色组成,我可以从大的块状变化中数出它们。
要使图像用作全景背景,是否需要做一些特殊的事情?
我尝试过使用图像的 JPG 和 PNG 版本,两者看起来都一样。
I have a Panorama image in my app and when it loads on the phone it is blurry. It's like when you remote desktop into another computer and you have the color settings way down. The gradient is made up of 6 colors and I can count them from the big blocky change.
Is there something special that needs to be done for an image to work as a Panorama background?
I've tried using a JPG and PNG version of the image and it looks the same for either.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我知道这是一篇较旧的文章,但使用 Windows Phone Mango (7.5),您现在可以通过修改清单来指定 32 位。
将其添加到
中,您的图像现在将以 32 位模式显示。您可以获得更平滑的渐变和颜色分辨率。启动屏幕仍然只有 16 位,并且您的图标只会真正以 16 位显示。但您可以在应用程序中获得漂亮的颜色。
I know this is an older post, but with Windows Phone Mango (7.5) you can now specify 32 bit by modifying your manifest.
Add that to the
<App xmlns="" ProductID="" BitsPerPixel="32"/>
and your images will now display in 32 bit mode. You get a lot smoother gradients and color resolution.The startup screen still is only 16 bit, and your icons will only really display in 16 bit. But you can get nice colors in your app.
Windows Phone 7 目前以 16 位颜色深度进行渲染,这与具有更高颜色深度的桌面/模拟器不同。因此,渐变看起来与台式电脑上的渐变不一样。
这里的这个线程有一些关于如何针对这种环境优化图像的很好的指导:
有吗一种在 Internet Explorer Mobile 7 中正确渲染带有渐变的 PNG 的方法?
Windows Phone 7 currently renders with 16bit color depth, unlike your desktop/emulator which has a higher color depth. As a result, gradients won't look the same as they do on your desktop PC.
This thread here has some great pointers on how to optimize your images for this environment:
Is there a way to render PNG with gradients in Internet Explorer Mobile 7 correctly?