【发布时间】:2014-05-25 17:14:48
【问题描述】:
我想在对其进行像素操作之前裁剪 UIImage(不是 imageview)。在 ios 框架中是否有可靠的方法来做到这一点?
以下是我正在使用的android中的相关方法:
http://developer.android.com/reference/android/graphics/Bitmap.html#createBitmap(android.graphics.Bitmap, int, int, int, int) http://developer.android.com/reference/android/graphics/Bitmap.html#createBitmap(int, int, android.graphics.Bitmap.Config)
【问题讨论】:
-
(不是 imageview).. 其中大多数是为 imageview 裁剪的,我没有使用那种方法。
-
和?有很多关于 UIImage 的文章(注意:没有视图存在)。 CGImage.
标签: ios objective-c uiimage crop