@wdlmaster:

Both of my bitmaps do indeed have the same dimensions - 744x600. That is not the problem. Additionally, the engine is not crashing when I run the function - the function simply fails to write pixels to the second bmap.