我有这行代码
UIImageJPEGRepresentation(profileImage, 0.8)我想知道它是通过降低质量来调整图像的高度和宽度,还是仅仅调整图像的大小?
发布于 2015-02-01 18:27:28
它只会降低质量。
func UIImageJPEGRepresentation(_ image: UIImage!,
_ compressionQuality: CGFloat) -> NSData!https://stackoverflow.com/questions/27346373
复制相似问题