• 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
JPEG Image retrieval
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JPEG Image retrieval


  • Subject: JPEG Image retrieval
  • From: Kyle Mandli <email@hidden>
  • Date: Mon, 20 Aug 2001 11:35:58 -0500

I have a program that accesses a relatively large number of JPEG images (sometime up to 60,000.) It then steps through them like a slide show except that I want it to play through it as fast as possible. I have optimized the drawing as much as possible and now using Sampler I found that the big bottle neck now is actually retrieving the file from the file system.

Does anyone know a faster way to do this than the below? I have thought about buffering the images but the user needs to be able to jump around quite a bit and that would slow down the app more than help it.

Thanks in advance.

-(void)openImage
{
NSImage *newImage = [[NSImage alloc] init];
[imageView setImage:[newImage initWithContentsOfFile:path]];
}

Kyle


  • Prev by Date: Re: I'll Bite
  • Next by Date: Re: Rotating an image
  • Previous by thread: Much snappier list propagation!
  • Next by thread: Forcing the documentType in saveDocumentTo:
  • Index(es):
    • Date
    • Thread