You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UIGraphicsImageRenderer supports wide color, and UIGraphicsBeginImageContext does not. We should use the former on OSes that support it.
Questions:
does macOS have an equivalent image renderer?
We currently have a convoluted image tinting function with a lot of conditional compilation. Can we imrprove this situation? Will we need to, in order to add a third or possibly fourth permutation of how we render?
The text was updated successfully, but these errors were encountered:
It's backward compatible & supports macOS. I don't think I've updated it to support wide colour, but that shouldn't be a huge task. Its also been designed to map the APIs directly, I was originally using it and then just dropping the prefix once I no longer needed it.
UIGraphicsImageRenderer
supports wide color, andUIGraphicsBeginImageContext
does not. We should use the former on OSes that support it.Questions:
The text was updated successfully, but these errors were encountered: