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 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, and, as far as I know these methods can only be called on the Main Thread. Is this correct?

I can re-code this using CF/CG etc. but I'd like to know if:

1.  The CF/CG functions are thread safe.

2.  The CGPDF functions are also thread safe.

Any help appreciated.

All the Best
Dave

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/ev%40monoceroi.com

This email sent to e...@monoceroi.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to