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
Post a Comment