iOS Rendering PDFs on a Background Thread

2012-07-26 Thread Dave
Hi All, I like to be able to fire off a Background thread that Renders PDF pages to UIImage's. I've got the code working on the Main Thread, but now the tricky bit because since I am using UIGraphicsBeginImageContextWithOptions and UIGraphicsEndImageContext in order to capture the Image,

Re: iOS Rendering PDFs on a Background Thread

2012-07-26 Thread David Duncan
On Jul 26, 2012, at 2:09 PM, Dave d...@looktowindward.com wrote: I've got the code working on the Main Thread, but now the tricky bit because since I am using UIGraphicsBeginImageContextWithOptions and UIGraphicsEndImageContext in order to capture the Image, and, as far as I know these

Re: iOS Rendering PDFs on a Background Thread

2012-07-26 Thread Dave
On 26 Jul 2012, at 22:17, David Duncan wrote: On Jul 26, 2012, at 2:09 PM, Dave d...@looktowindward.com wrote: I've got the code working on the Main Thread, but now the tricky bit because since I am using UIGraphicsBeginImageContextWithOptions and UIGraphicsEndImageContext in order to

Re: iOS Rendering PDFs on a Background Thread

2012-07-26 Thread David Duncan
On Jul 26, 2012, at 2:39 PM, Dave d...@looktowindward.com wrote: Really? Just double checking you mean what you mean. My code basicall UIGraphicsBeginImageContextWithOptions UIGraphicsGetCurrentContext ---Reander PDF Page into the Context obtained above.

Re: iOS Rendering PDFs on a Background Thread

2012-07-26 Thread Dave
Hi, Thanks for that! All the Best Dave On 26 Jul 2012, at 22:20, Evadne Wu wrote: Probably not: http://stackoverflow.com/questions/10931155/ uigraphicsbeginimagecontextwithoptions-and-multithreading Best, Eve On Jul 27, 2012, at 5:09 AM, Dave d...@looktowindward.com wrote: Hi All, I

Re: iOS Rendering PDFs on a Background Thread

2012-07-26 Thread Dave
On 26 Jul 2012, at 22:52, David Duncan wrote: On Jul 26, 2012, at 2:39 PM, Dave d...@looktowindward.com wrote: Really? Just double checking you mean what you mean. My code basicall UIGraphicsBeginImageContextWithOptions UIGraphicsGetCurrentContext ---Reander PDF Page into the Context

Re: iOS Rendering PDFs on a Background Thread

2012-07-26 Thread Conrad Shultz
On Jul 26, 2012, at 2:09 PM, Dave wrote: Hi All, I like to be able to fire off a Background thread that Renders PDF pages to UIImage's. I've got the code working on the Main Thread, but now the tricky bit because since I am using UIGraphicsBeginImageContextWithOptions and