UIImageView 渲染图像与原始图像不同 [英] UIImageView renders image differently to original

查看:40
本文介绍了UIImageView 渲染图像与原始图像不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

右边的图片是我在photoshop中制作的.然后我剥离了所有文本并将其放入图像视图中,一旦我这样做,颜色就会发生变化并且垂直线失去了它的清晰度.有没有其他人遇到过类似的问题?我该怎么办?替代文字 http://grab.by/1DuZ

The image on the right is the one that I produced in photoshop. I then stripped all text and put it in an image view, as soon as I did that there was a change in colour and the vertical line lost it sharpness. Has anyone else run into a similar problem? What do I do? alt text http://grab.by/1DuZ

推荐答案

尺寸是否正确?图像的位置是整数吗?如果出现这些情况,抗锯齿会稍微模糊您的图像.

Are the dimensions correct? Is the position of the image an integer? If these cases antialiasing will slightly blur your image.

这篇关于UIImageView 渲染图像与原始图像不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆