NSImage lockFocus problem.
NSImage lockFocus problem.
- Subject: NSImage lockFocus problem.
- From: ARATHI A <email@hidden>
- Date: Sun, 28 Aug 2005 12:20:11 +0530
- Organization: NeST-India
Hi all,
First sorry for my bad english.I am a new XCode user.I have a
problem.I want manipulate movie file.
I first take each frame of the QTMovie and store it as an NSImage.And do
some manipulation.
My code is ..
MSImage *image = [ myMovie currentFrameImage];
[image lockFocus];
some drawing operation.
[image unlockFocus].
through the above code i process all the frames of the movie.
I found that when i process using lockFocus and unLockFocus it consume large
amount of memory.
Instead of processing the entire movie , i simply try to process a single
NSImage and it take very high memory.
Then i comment the lockFocus and unLockFocus.The application donot take
memory.Finally i found that using
lockFocus and unLockFocus the application consumes large memory.I must want
to use the lockFocus and unLockFocus
API's of NSImage and also donot leak the memory.Please help me..
Thanks.
Arathi A
---------------------------------------------------------------------------
"This e-mail and any files transmitted with it are for the sole use
of the intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken upon this e-mail is
strictly prohibited and may be unlawful."
---------------------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden