Updated GetMMLevels to use bitmap capture