load an image file too slow
load an image file too slow
- Subject: load an image file too slow
- From: 김경옥 <email@hidden>
- Date: Fri, 22 Oct 2004 17:25:28 +0900
- Importance: Normal
Title: Message
Hi,
I'm initializing an image using
image = [[NSImage alloc]
initWithContentsOfFile:path] retain];
and drawing the image by [view
setImage:image];
[view setNeedsDisplay:YES];
...
If the image size
is about 2000 x 2500, the loading time is very
slow.
The size is bigger, the loading
time is slower and slower and it looks almost dead.
Is there any way to speed
up image loading time?
Thanks
G. Kim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden