LoadPixmapPNG is an internal function that's called by LoadPixmap. There is also LoadPixmapJpeg. Due to the way the BlitzMax modules are structured, LoadPixmapPNG/LoadPixmapJPG have to be public to be accessable by pixmap loading system.
It's also significantly faster to load what you know will be a PNG with LoadPixmapPNG than LoadPixmap. BlitzMax tries each loader in series rather than guessing to try LoadPixmapPNG if the extension is .png - at least, it did when I did Inca Quest, and that's a trick I used to save many many seconds off the load time.
It's also significantly faster to load what you know will be a PNG with LoadPixmapPNG than LoadPixmap. BlitzMax tries each loader in series rather than guessing to try LoadPixmapPNG if the extension is .png - at least, it did when I did Inca Quest, and that's a trick I used to save many many seconds off the load time.