mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-10 13:26:13 +10:00
Better thumbnail
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user