ios - How can I get color space from a CGContext? -


I want to create a bitmap CGContext with the same color space as an existing CGContext . How do I get the location of UIColor to a CGContext

You need to call CGBitmapContextGetColorSpace to get the color space of the given bitmap reference, but if you are talking about a general reference then the question is not properly defined Because CGContexts has two color spaces: stroke and fill.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -