• 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: Drawing an NSImage into a GWorld
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing an NSImage into a GWorld


  • Subject: Re: Drawing an NSImage into a GWorld
  • From: Darrin Cardani <email@hidden>
  • Date: Tue, 12 Jul 2005 14:21:01 -0500

At 12:06 PM -0700 7/12/05, Darrin Cardani <email@hidden> wrote:
Thanks so much for the pointer! I was actually just trying something
like this out, and I'm running into a problem. The image in question
is loaded from my plugin's bundle, so I know that it's a bitmap image
and not a PDF or other vector image. However, I load the image using
[+NSImage initWithContentsOfFile:]; It seems that just doing that
isn't enough for it to create any representations, as calling [image
representations] returns nil.

D'oh! It turns out the image I'm using is nil, so that's why [image representations] returns nil. I'm sure once I fix the real problem the rest of it will work. :-P


Nevermind,
Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
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


  • Prev by Date: Basic bindings questions
  • Next by Date: Re: Cocoa API documentation
  • Previous by thread: Re: Drawing an NSImage into a GWorld
  • Next by thread: Finding out mouse button state outside of event stream
  • Index(es):
    • Date
    • Thread