Bitmap2component: fix Bug #1273082 (patch from Wesley Dungan)