How can you apply distortions to a UIImage using OpenGL ES?

前端 未结 2 1640
长情又很酷
长情又很酷 2020-11-30 08:33

Is there any way to create effects like dents, pinching, twisting, squashing, etc. on a UIImage using OpenGL ES as in the iPhone application PhotoTwist?

Are there an

2条回答
  •  庸人自扰
    2020-11-30 09:03

    The Photo Editing Extension sample code from the Apple Developer Connection does this exact thing.

提交回复
热议问题