开发者

PDF Quartz Rendering quality

开发者 https://www.devze.com 2023-01-12 03:35 出处:网络
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.

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

精彩评论

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