Re: Best way to composite/tile multiple CGImages to one image
Re: Best way to composite/tile multiple CGImages to one image
- Subject: Re: Best way to composite/tile multiple CGImages to one image
- From: Trygve Inda <email@hidden>
- Date: Sat, 08 Mar 2014 05:26:33 +0000
- Thread-topic: Best way to composite/tile multiple CGImages to one image
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 (email@hidden)
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:
This email sent to email@hidden