rofl, sama played a bit with that code, seems it's messed up now (no offense sama). It worked however, it dumps the entire pixel picture (so 1024x1024 picture) to a specified bmp, and also you could set the dimension, like 512 to have only a resized 512x512 picture It worked when i last did something to it, now it doesn't work anymore, so it's not my fault