Gamut / Color space problems when using CGContextDrawPDFPage
问题 I'm rendering a PDF file on iPad using core graphics. The colors however look different to the PDF when opening it using OS X preview or acrobat. Here is a picture with the left being from Acrobat, the right being in iOS simulator: Does anyone have an idea what I could be doing wrong? I'm not doing anything fancy with my graphics context, except translation/scaling, clipping and then calling CGContextDrawPDFPage (So far I have only tried on the iOS simulator. ) 回答1: You need to use RGB