The help file says that only BMP and PCX files can be loaded using the LoadImageFile() function. Is this correct or is it possible to load PNG files since they are now also supported by the editor?
I certainly couldn't get it to work.
That was attempting a PNG-24 written with the save to web feature of Photoshop.
Try it out and let *us* know!
I think it's probably because the engine doesn't have a png decoder built-in. :P Though I haven't tried to load it yet.
I was wondering if somethin like that wwas the case of if had just been overlooked in the documentation, or just not gotten implemented yet.
The engine can only load PCX and BMP. The PNG decoder is a fairly hefty bit of code, and adding it to the engine would probably increase the EXE size by 50-100 KB. I felt it would be adding unnecessary bloat, considering the number of people who would actually want to use it.
Sorry :)
No problem Chris. As I said I was just curious and making some future plans to use the new LoadImage feature.