Core Graphics
-

Fix: invalid data bytes/row When Rotating a UIImage in Swift
Fix the invalid data bytes/row error when rotating a UIImage, render a 90-degree rotation into new pixels, and preserve the image’s scale.

Fix the invalid data bytes/row error when rotating a UIImage, render a 90-degree rotation into new pixels, and preserve the image’s scale.