Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Movies and Menus
Subject:   How about JPGs and other Images?
Date:   2002-01-28 22:20:01
From:   mhorn
I do I go about using Quicktime and an NSImage together? Specifically, I would like to use the Quicktime scaling functions instead of the NSImage scaling functions since the Quicktime functions seem to provide much better results.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Michael Beam photo How about JPGs and other Images?
    2002-01-30 16:25:34  Michael Beam | O'Reilly Author [View]

    I've heard elsewhere that QuickTime does a better job at this kind of thing. NSMovie is a pretty lean class, and by the looks of it i think you would have to create an instance of NSImage using initWithContentsOfURL: in conjunction with NSMovie's -URL method.

    So something like this:

    NSImage *image = [[NSImage alloc] initWithURL:[movie URL]];

    Does that help with your question?

    Mike