Just a follow up...

I modified the color space with:

            [canvasImageRep
bitmapImageRepByConvertingToColorSpace:[[[NSColorSpace alloc]
initWithCGColorSpace:colorSpace] autorelease]
renderingIntent:NSColorRenderingIntentDefault];


I still get the same times to place 20 images in a 4x5 grid.

Instruments says 90% of the time is spent in CGContextDrawImage

The CGImage is 1920x1080 and the target (draw) rect is 192x108. Seems like
all the time is being spent doing the size reduction.

Seems slow though... 2sec to reduce 20 images.

T.




_______________________________________________

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