Slow File loading
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.