image or pixmap?

BlitzMax Forums/BlitzMax Programming/image or pixmap?

plash(Posted 2007) [#1]
I modified a function to replace colors in a pixmap, should I be converting the pixmap to an image before drawing, or is there no memory/speed difference using drawpixmap/drawimage?


xlsior(Posted 2007) [#2]
images draw much faster than pixmaps, although it does take a moment to convert a pixmap to an image.

If you don't change the image all the time, I'd convert it back to an image once you're done with the pixmap, and just use the image from then on.