help-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImage problem


From: gusborsa
Subject: NSImage problem
Date: Thu, 15 Mar 2012 15:58:27 -0700 (PDT)

Hello, I´m trying to create a NSImage object from a png type image. My code:

NSImage *myImage = [[NSImage alloc] initWithContentsOfFile:
@"c:/MiProyect/Resources/imagen.png"];

but this method returns "nil", the description message from the myImage
object returns (NULL).

I Verified the path with the fileExistsAtPath (NSFileManager) method and
it's OK. I'm working on WinXP.

Thanks
-- 
View this message in context: 
http://old.nabble.com/NSImage-problem-tp33513960p33513960.html
Sent from the GNUstep - Help mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]