Revert "Support for bmp"

This reverts commit 8641b5105c86d07168a47613386ac87ca1544e7c.