I am trying to embed a PNG that I downloaded from the web.
I have an original PNG, than I went to the other website and make this PNG 16x16 in order to use it in toolbar.
Then I run
Code: Select all
png2c <my_png_file> > <my_png_embedded>
I guess that the (original) PNG I downloaded is not a valid PNG file?
But then it can be loaded by wxImage::Load().
What are my options? Is there a better way to convert the file that works for any PNG?
Thank you.