https://github.com/kaishin/Gifu/blob/f86fcd6f6629f903e74c2ab56f03daa87307807a/Sources/Gifu/Extensions/UIImage.swift#L10 [Apple doc](https://developer.apple.com/documentation/uikit/1623912-uigraphicsbeginimagecontextwitho) we could change the code like this: https://github.com/meitu/MPITextKit/pull/54/commits/0adfff9d668218d85d9f5191d5cdf1e8f7176c6a