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

php - multilevel menu with multilevel array -

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

objective c - iPhone and it's wireless area -