Added bitmap support

Working on bitmap color mode but have issues transferring "result" into
"image"