UIImageView scaling/interpolation

前端 未结 4 1454
南旧
南旧 2021-01-02 01:55

I have a small IPhone app that I am working on and I am displaying an image with a UIImageView. I am scaling it up using the Aspect Fit mode. I would like to have the imag

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-02 02:31

    There are two ways you could do this. You can either implement a rescaling algrorithm without interpolation. If this is to much work you could rescale the image in another application like gimp or photoshop. This would work unless you needed to change the size dynamically in your application.

提交回复
热议问题