Page 2 of 2

Posted: Fri Nov 12, 2010 3:16 pm
by neil_123
So slavik262,

In order to create IImage * from a png or bmp file, I will have to use FreeImage library. Is that right way to go?

Best regards.

Posted: Fri Nov 12, 2010 3:58 pm
by slavik262
No... this is Irrlicht code. Just use IVideoDriver::createImage. Be sure to drop the image when you're done with it since the function name starts with "create..."

Posted: Mon Nov 15, 2010 7:26 pm
by neil_123
Thanks everybody,

For your kind help. I used slavik262's code almost verbatim, and it worked like
a charm.

Best regards