• 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
Re: six things I wasn't able to do with Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: six things I wasn't able to do with Cocoa


  • Subject: Re: six things I wasn't able to do with Cocoa
  • From: Bill Appleton <email@hidden>
  • Date: Fri, 28 May 2010 11:55:46 -0700

hi Kevin,

sorry if this is a repost, my last one was rejected for being too big

YES, the QTMovieNaturalSizeAttribute definitely returns the size i am
looking for

the remaining problem is that the movie posetr returns a size of 100 x 100

so when i capture the poster it is really pixelated

i've tried everything -- how do other people get movie posters and/or grab
movie frames?


best,

bill






On Fri, May 28, 2010 at 9:52 AM, Kevin Wojniak <email@hidden> wrote:

> Did you try QTMovieNaturalSizeAttribute?
>
> http://developer.apple.com/mac/library/technotes/tn2005/tn2138.html#TNTAG11
>
>
> On May 28, 2010, at 9:43 AM, Bill Appleton wrote:
>
> > Hi Chaitanya,
> >
> > that code always returns a size of 100, 100 for every movie I try.
> really.
> >
> > and then the poster or frame is really pixelated because it is coming
> from
> > such a small source.
> >
> > i am surely missing something here!
> >
> >
> > thanks,
> >
> > bill
> >
> >
> >
> >
> >
> > On Fri, May 28, 2010 at 1:17 AM, Chaitanya Pandit <
> email@hidden>wrote:
> >
> >>
> >> *3)** **I **can't get t**he right dimensions for a QuickTime movie or
> >> poster
> >> *
> >>
> >>
> >> NSSize movieSize =  [[movieObject currentFrameImage] size];
> >>
> >> I used to call GetMovieBox, so I tried using [QTMovie posterImage] but
> the
> >> NSImage reported a width and height of 100, and then my movie poster was
> >> really pixelated. How do I get a decent looking movie poster? How do I
> get
> >> the original dimensions for movie playback?
> >>
> >>
> >> *4)** **I **can't call the printing code*
> >>
> >> I know, the printing code calls me. But other platforms don't work like
> >> this. I eventually used Core Printing and the Cocoa dialogs by
> sub-classing
> >> and faking out NSPrintPanel. Is there a better way?
> >>
> >>
> >> *5)** **I **can't create a simple list*
> >>
> >> I did it the only way I could -- with a table that has one column, etc.
> Man
> >> that was painful for a simple list. Is there a better way?
> >>
> >>
> >> *6)** **I **can't get the height of some wrapped text*
> >>
> >> I had to use the layout manager and some major rocket science to get
> this
> >> to
> >> work right. I'm not saying Text Edit was great, but at least it knows
> how
> >> tall the text field is.
> >>
> >>
> >>
> >>
> >> Thanks!
> >>
> >>
> >> Bill Appleton
> >> _______________________________________________
> >>
> >> Cocoa-dev mailing list (email@hidden)
> >>
> >> Please do not post admin requests or moderator comments to the list.
> >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> >>
> >> Help/Unsubscribe/Update your Subscription:
> >>
> >>
> >> This email sent to email@hidden
> >>
> >>
> >>
> > _______________________________________________
> >
> > Cocoa-dev mailing list (email@hidden)
> >
> > Please do not post admin requests or moderator comments to the list.
> > Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> >
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
>
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: six things I wasn't able to do with Cocoa
      • From: Robert Martin <email@hidden>
    • Re: six things I wasn't able to do with Cocoa
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >six things I wasn't able to do with Cocoa (From: Bill Appleton <email@hidden>)
 >Re: six things I wasn't able to do with Cocoa (From: Chaitanya Pandit <email@hidden>)
 >Re: six things I wasn't able to do with Cocoa (From: Bill Appleton <email@hidden>)
 >Re: six things I wasn't able to do with Cocoa (From: Kevin Wojniak <email@hidden>)

  • Prev by Date: Changing cursors in window's bounds
  • Next by Date: Re: Changing cursors in window's bounds
  • Previous by thread: Re: six things I wasn't able to do with Cocoa
  • Next by thread: Re: six things I wasn't able to do with Cocoa
  • Index(es):
    • Date
    • Thread