Better thumbnail

This commit is contained in:
kevinzhow
2015-10-28 18:16:24 +08:00
parent b70359d688
commit 57ccbdcfc4
+1 -1
View File
@@ -28,7 +28,7 @@ func metaDataStringOfImage(image: UIImage, needBlurThumbnail: Bool) -> String? {
let thumbnailSize = CGSize(width: thumbnailWidth, height: thumbnailHeight)
if let thumbnail = image.resizeToSize(thumbnailSize, withInterpolationQuality: CGInterpolationQuality.Low) {
if let thumbnail = image.resizeToSize(thumbnailSize, withInterpolationQuality: CGInterpolationQuality.High) {
if needBlurThumbnail {