hopefully optimized getting a bitmap from a media object