To use this plugin, copy wxCmmImgPlugin to UserLibraries folder, and add the following line in your program:
Code: Select all
UseWxCmmImageDecoder()
To use CatchImage(), you must add image file as a Raw Data Resource. For example (jaPBe), select Project menu -> Project Options -> Resources -> New. Type: Raw Data, Name: Image1, and use code:
Code: Select all
CatchImage(0, "Image1")
(For now, PNG file is not support by CatchImage())
Thanks to El_Choni for the idea and the example.
About wxCmm: wxCmm is an opensource framework for C-- language. This plugin is just a shell of wxCmm's wxBitmap.LoadFile() method.
Download wxCmmImgPlugin
El_Choni's version and example here