Re: Drawing an NSImage into a GWorld
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