Apply CATransform3D to CALayer and save result in UIGraphicsImageRendererContext
I have an 4×4 transformation matrix that is converted to CATransform3D. I need to apply it a UIImage and save as a new image in Documents folder. Any transformations that I can apply to cgcontext inside UIGraphicsImageRenderer image method work only with affine transformations that doesn’t suit me.
Apply CATransform3D to CALayer and save result in UIGraphicsImageRendererContext
I have an 4×4 transformation matrix that is converted to CATransform3D. I need to apply it a UIImage and save as a new image in Documents folder. Any transformations that I can apply to cgcontext inside UIGraphicsImageRenderer image method work only with affine transformations that doesn’t suit me.