Re: Dimensions of a movie?
Re: Dimensions of a movie?
- Subject: Re: Dimensions of a movie?
- From: August Trometer <email@hidden>
- Date: Tue, 22 Feb 2005 12:56:27 -0500
Thanks for the reply!
My bad, here, though. I should have been more explicit.
What I'd like to do is get the size of the movie without loading it
into an NSMovieView first and it simply may not be possible. I'm not
using an NSMovieView to display the movie, and creating one just for
the pixel dimensions seems unnecessarily wasteful in terms of memory
and processing, especially for large movie files.
August
On Feb 22, 2005, at 12:00 PM, Douglas A. Welton wrote:
August,
If you want the dimensions of the NSMovieView, then you can simply use
the
-bounds method to get the rectangle/area used within the window. If
you
would like to know the actually dimensions of the QuickTime movie that
is
playing, use the -QTMovie method to get the Movie pointer, then call
GetMovieNaturalBoundsRect() to get the dimensions of the movie.
Hope that helps...
later,
douglas
on 2/22/05 11:02 AM, August Trometer at email@hidden wrote:
Just wondering if there's an easy way to get the pixel dimensions or
size of a NSMovie, much like you can with NSImage.
Thanks!
August
_______________________________________________
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