Why is there LoadPixmap and LoadPixmapPNG?

BlitzMax Forums/BlitzMax Beginners Area/Why is there LoadPixmap and LoadPixmapPNG?

H&K:
Yes, but you need IMAGES to draw stuff, so he'd have to convert those pixmaps to images.

Yan:
"if it succeeds, the image is generated from the pixmap, otherwise the URL is assumed to be a file path string and the pixmap is loaded via the TPixmapLoaders."

Ah... I see!


"Don't ya just love this OO stuff. :o)"

Nope! I don't love not being able to tell when something is a cast or a function call! :-)


I do like the idea of being able to use loadimage on a pixmap though. That explains how Michael was able to speed up his loader so easily. I guess I'll implement a file extension pixmap loading thing into my custom loadimage function I already use which ovverides the normal one and see if my load times get sped up.