开发者

PDF Quartz Rendering quality

On the iPad, I need to render a large pdf (more than 1gb). For this I use Quartz.

Now everything works fine except the quality of included p开发者_高级运维df in my pdf.

I'm using CGContextDrawPDFPage to render the pdf into the UIView context (in drawRect).


Found it.

CGContextSetInterpolationQuality(ctx, kCGInterpolationHigh);

Before drawing the pdf page and everything is fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜