• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best way to composite/tile multiple CGImages to one image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Best way to composite/tile multiple CGImages to one image (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Best way to composite/tile multiple CGImages to one image
  • Next by Date: Re: Best way to composite/tile multiple CGImages to one image
  • Previous by thread: Re: Best way to composite/tile multiple CGImages to one image
  • Next by thread: Re: Best way to composite/tile multiple CGImages to one image
  • Index(es):
    • Date
    • Thread