• 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
Slow File loading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Slow File loading


  • Subject: Slow File loading
  • From: Lance Pysher <email@hidden>
  • Date: Tue, 5 Feb 2002 17:06:29 -0700

I have some files that the main component is 16bit grayscale images and I have been trying to load the image bitmap data, but the loading the data is very slow form 1-3 seconds for a 512*512 image. The bit data in the files is also in little endian order.I have been trying to load the data using NSData and stepping through the data by loading the into a buffer 2 bytes at a time and converting that to signed short int. I have also tried a C call using getc but that is just as slow. I'm a newbie and is there a faster way to covert the data into a usable array of signed shorts.
Lance
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: Speed of Quartz (was: optimizing compilers)
  • Next by Date: Re: MenuBar icon in Cocoa?
  • Previous by thread: Re: Mach-O Speed ?!?!?!?!?
  • Next by thread: Sizing text in a box
  • Index(es):
    • Date
    • Thread