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.


_______________________________________________
Help-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-gnustep

Reply via email to