High Quality Scaling of UIImage

前端 未结 4 1117
谎友^
谎友^ 2020-11-27 19:16

I need to scale the resolution of an image coming from a view layer in an iPhone application. The obvious way is to specify a scale factor in UIGraphicsBeginImageContextWit

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-27 19:46

    I suppose you could use something like imagemagick. Apparently it's been successfully ported to iPhone: http://www.imagemagick.org/discourse-server/viewtopic.php?t=14089

    I've always been satisfied with the quality of images scaled by this library, so I think you'll be satisfied with the result.

提交回复
热议问题