• 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: Fastest high-quality thumbnail display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fastest high-quality thumbnail display


  • Subject: Re: Fastest high-quality thumbnail display
  • From: James Merkel <email@hidden>
  • Date: Tue, 26 Jul 2011 07:04:38 -0700


On Jul 26, 2011, at 1:39 AM, Mike Abdullah wrote:


On 26 Jul 2011, at 01:55, James Merkel wrote:

Well, I see I have a huge memory leak in CIImage.
However, I don't see where my code is in error.
Also, according to Instruments Object Allocation, ImageIO is holding this memory.
So I guess Core Image calls IImageIO.

Yes, since ImageIO's job is to read and write images, Core Image uses it to do that portion of its work.



Yeah, it looks like I can't use CIImage because of the memory leak.
Every time an image is opened, the memory footprint increases by the size of the image.
Using CIImage was kind of a cul-de-sac.


So now it looks like I have to use CGImage and figure out how to get a CGImageRef into an NSImageView which is ultimately how the image is displayed.

Jim Merkel
_______________________________________________

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


  • Follow-Ups:
    • Re: Fastest high-quality thumbnail display
      • From: Kyle Sluder <email@hidden>
References: 
 >Fastest high-quality thumbnail display (From: James Merkel <email@hidden>)
 >Re: Fastest high-quality thumbnail display (From: Mike Abdullah <email@hidden>)
 >Re: Fastest high-quality thumbnail display (From: James Merkel <email@hidden>)
 >Re: Fastest high-quality thumbnail display (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Cancelling a CATransaction's completionBlock
  • Next by Date: [SOLVED] Problem getting my layers to draw in the right order
  • Previous by thread: Re: Fastest high-quality thumbnail display
  • Next by thread: Re: Fastest high-quality thumbnail display
  • Index(es):
    • Date
    • Thread