i am not sure that this whil be the best thing but you could lock de bitmap bmap_lock scan its alpa with pixel_for_bmap if its needs to be copyd use pixel_to_bmap and unlock it

if you dont know how this works and i got some spare time i mab could write a example


"empty"