Pamela Goetz
21 years ago
I am trying to load a small PNG image file as follows:
wxImage image;
image.LoadFile (wxT("bitmaps/new.png"), wxBITMAP_TYPE_PNG);
But instead I get:
"Warning: No image handler for type 15 defined."
This is on Windows (wxMSW). I compiled the library with PNG, ZLIB,
TIFF, JPEG, etc. support (or so I believe?)
How is it possible that a handler for PNG cannot be found?
Thanks,
Pam
=====
WX : 2.4.2
OS : Windows 2000
COMPILER: VC++ 6 (IDE)
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
---------------------------------------------------------------------
Please read http://www.wxwindows.org/mlhowto.htm before posting.
To unsubscribe, e-mail: wx-users-***@lists.wxwindows.org
For additional commands, e-mail: wx-users-***@lists.wxwindows.org
wxImage image;
image.LoadFile (wxT("bitmaps/new.png"), wxBITMAP_TYPE_PNG);
But instead I get:
"Warning: No image handler for type 15 defined."
This is on Windows (wxMSW). I compiled the library with PNG, ZLIB,
TIFF, JPEG, etc. support (or so I believe?)
How is it possible that a handler for PNG cannot be found?
Thanks,
Pam
=====
WX : 2.4.2
OS : Windows 2000
COMPILER: VC++ 6 (IDE)
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
---------------------------------------------------------------------
Please read http://www.wxwindows.org/mlhowto.htm before posting.
To unsubscribe, e-mail: wx-users-***@lists.wxwindows.org
For additional commands, e-mail: wx-users-***@lists.wxwindows.org