Updated convert to BMP

Signed-off-by: Shahbaz <ShabbyX@gmail.com>