You're right with the red plus green. But I can still not confirm your problem.
pixel_to_vec is a frequently used function, but we haven't heard that any other user had problems with it so far. Check the the format with bmap_lock. Make sure that it's really 8888 and not 888, which would explain your problem.
If you can't find the problem this way, please send a test project to the support. We'll check.