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

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -