I have postet some direct pixmap access code yesterday in another topic. http://www.blitzbasic.com/Community/posts.php?topic=72178
It currently only works within opengl but is a lot faster than doing it with lockImage because bmax doesn't update each mipmap. ALso it seems ( I haven't found out why) that if you lock an Image bmax seems to update the pixmap each time you access a pixel. Mine definetly only updates the Image if you call the UploadPixtoImg() function. Also it is possible to just update parts of the image so it is again much faster.
cheers.
It currently only works within opengl but is a lot faster than doing it with lockImage because bmax doesn't update each mipmap. ALso it seems ( I haven't found out why) that if you lock an Image bmax seems to update the pixmap each time you access a pixel. Mine definetly only updates the Image if you call the UploadPixtoImg() function. Also it is possible to just update parts of the image so it is again much faster.
cheers.