Here we can do a minor tweak where this extension is implemented using an old UIGraphicsBeginImageContextWithOptions API. That is not recommended.
We can provide an improvement for it and make this using UIGraphicsImageRenderer API.
Note: UIGraphicsImageRenderer is only available from iOS 10. So we should maintain the current implementation for lower iOS versions like:
if #available(iOS 10.0, tvOS 10.0, *) {
// UIGraphicsImageRenderer new implementation
} else {
// Current implementation with UIGraphicsBeginImageContextWithOptions
}
See #721 for an example.
Hi @LucianoPAlmeida I could pick up this one :)
@FraDeliro Sorry for not commenting, before I started, but I was literally just about to click the button to make a PR for this 馃槄
@raysarebest No worries :) Go for it 馃憤
@FraDeliro @raysarebest Thanks for taking this one, @FraDeliro there are another issues like this one you could take, just make sure to comment on that so people know there鈥檚 someone already working :))
Sent with GitHawk
It looks like my PR got merged this morning, so I'm closing this issue 馃帀
Most helpful comment
It looks like my PR got merged this morning, so I'm closing this issue 馃帀